Code Generation: MyDBO Code Generator
Patrick Brosset (contact me)
This package can be used to generate the code of classes to access MySQL database tables.
It uses Smarty templates to generate all the code for the classes and other scripts.
The generated classes perform the usual database access operations like establishing database connections and executing SELECT, UPDATE, INSERT and delete SQL queries.
The templates from which the code is generated are customizable to the developer needs.
The package can be extended by plug-ins that allow the developers to generate code to implement additional features.
Click here for detailed information about this class on phpclasses.org
Example
Main generator, loops through your database structure and generate class files
Appl.
Configuration wizard, takes you step by step through the generation process
Appl.
Configuration Wizard - Step 1
Appl.
Configuration wizard - step 2
Appl.
Configuration wizard - step 3
Appl.
Configuration wizard - step 4
Class
Database wrapper that will be used to read your MySQL database structure
Class
File and Directory manipulation class file for easy file reading and writing and directory listing
Class
Custom Smarty class file that sets initialisation variables
Class
XML parser class file used to read plug-ins configuration files
Data
Web interface template file
Data
Web interface template file
Data
Web interface template file
Data
Web interface template file
Data
Web interface template file
Data
Web interface template file
Data
Web interface template file
Data
Web interface template file
Class
Database table abstraction class file template
Class
Table collection class template
Class
DB table column abstraction class file template
Class
Database wrapper class template
Data
Index file for DBC template
Data
CSS file for DBC template
Appl.
Editor for DBC template
Appl.
Lister for DBC template
Appl.
Remover for DBC template
Appl.
Viewer for DBC template
Class
Database collection class file template
Conf.
Database configuration file template
Data
CSS stylesheet template
Appl.
Plugin index file template
Doc.
Plugin Install documentation
Class
Custom Smarty class file template
Class
Database object class file template
Appl.
Create database entry script template
Appl.
Edit a database entry script template
Appl.
Application home page
Appl.
List database entries script template
Appl.
Remove database entry script template
Appl.
View database entry script template
Data
Plugin configuration file
Data
HTML create form template
Data
HTML edit form template
Data
HTML web interface template
Data
HTML viewer template
Class
Database table class file template
Class
Database wrapper class file template