db.class.php File Reference
Go to the source code of this file.
Detailed Description
- Developer log entry:
- Necdet Can Atesman (2009-07-31): Current status of this module:
The select query required our custom query langauge, so development of the database was frozen to generate the language itself and a parser. The parser already has several tests and looks quite OK, although it is very badly documented.
The language itself will be used for the queries in this module, as well as for the form fields in the html module. This will allow providing simple rules to fields (like: This field is disabled, if the value to be displayed is imported from a spreadsheet)
The next few things to do (after the PropertyParser is complete) include:
- Finish the select query: The select query needs to parse conditions
- Implement the update query: This should be easy, since all the code for messing with properties is already in the select query.
- Implement the delete query: Trivial. Just a special update query.
After that, we'll probably need the user interface for graphically managing the database. The functions for creating database tables/columns will need to be adjusted for that. One should be able to give a proper table name, for example, if the module cannot determine a meaningful one. We'll need to decide if implementing change tracking makes sense at this stage.
Martin had found some bugs in the html module, which need to be fixed in the beta-branch.
If all this is done, we can start working on the @todo-items :)
Definition in file db.class.php.