|
||||
|
PHP5 Code generatorThis freeware as been developped with C# framework 2.0.If you don't have it on your computer, you should download it before using this software. what geeksdev PHP code generator does ?This software takes an SQL file and generate an object model from the database structure There is a screen capture (representing this website structure !)
You can download the software here : : geeksdev PHP5 code generator Class objectFor each classes (identified by a root node in the treeview) you can define behaviors that are :
If the object implements web header interface there will be two methods involved :
If the object inherits from template based then there will be a template like managment to display the object content. A template is an html that contents variables named for example {myVariable} that are replaced by the real content at runtime.
PropertiesFields of the database become properties of the object. The generator will find the datatype of the field reguarding the SQL type specified. For example, varchar(255) will be DB_TXT, tinyint will be DB_NUM. The value of DB_PWD is there to tell the generator that the property must be save as encrypted text using AES_ENCRYPT mySQL builtin function. For now here is the types that the generator recognize : For DB_TXT
There will be pretty soon a technical preview in the PHP section so see you soon ! |
||||
|
|