PHP Classes
elePHPant
Icontem

MyDBO Code Generator: Generate classes to access MySQL from templates

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (66)   DownloadInstall with Composer Download .zip   Reputation   Support forum (3)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2005-11-27 (10 years ago) RSS 2.0 feedNot enough user ratingsTotal: 1,607 All time: 2,370 This week: 1,066Up
Version License PHP version Categories
mydbo 1.0GNU Lesser Genera...3Databases, Code Generation
Description Author

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.

Picture of Patrick Brosset
Name: Patrick Brosset <contact>
Classes: 3 packages by
Country: France France

Screenshots  
  • mydbo_wizard_step3.jpg
  • mydbo_wizard_step1.jpg
  Files folder image Files  
File Role Description
Files folder imagewizard (4 files)
Files folder imagelib (4 files)
Files folder imagesmarty (1 directory)
Files folder imagedbo (1 file)
Files folder imageimages (4 files)
Files folder imageplugins (4 directories)
Plain text file generate.php Example Main generator, loops through your database structure and generate class files
Plain text file wizard.php Appl. Configuration wizard, takes you step by step through the generation process
Plain text file INSTALL Doc. Installation notes - Read me first
Plain text file CHANGES Data History of changes
Plain text file TODO Data Things planned
Plain text file style.css Data CSS file for the wizard steps

  Files folder image Files  /  wizard  
File Role Description
  Plain text file ws1_dbcon.inc Appl. Configuration Wizard - Step 1
  Plain text file ws2_dbname.inc Appl. Configuration wizard - step 2
  Plain text file ws3_tables.inc Appl. Configuration wizard - step 3
  Plain text file ws4_settings.inc Appl. Configuration wizard - step 4

  Files folder image Files  /  lib  
File Role Description
  Plain text file Database.php Class Database wrapper that will be used to read your MySQL database structure
  Plain text file File.php Class File and Directory manipulation class file for easy file reading and writing and directory listing
  Plain text file Smarty.php Class Custom Smarty class file that sets initialisation variables
  Plain text file XmlConfigReader.php Class XML parser class file used to read plug-ins configuration files

  Files folder image Files  /  smarty  
File Role Description
Files folder imagetemplates (9 files)

  Files folder image Files  /  smarty  /  templates  
File Role Description
  Plain text file footer.tpl Data Web interface template file
  Plain text file header.tpl Data Web interface template file
  Plain text file log.tpl Data Web interface template file
  Plain text file page_footer.tpl Data Web interface template file
  Plain text file page_header.tpl Data Web interface template file
  Plain text file ws1_dbcon.tpl Data Web interface template file
  Plain text file ws2_dbname.tpl Data Web interface template file
  Plain text file ws3_tables.tpl Data Web interface template file
  Plain text file ws4_settings.tpl Data Web interface template file

  Files folder image Files  /  dbo  
File Role Description
  Plain text file WHATISTHIS Data Tells you about this directory

  Files folder image Files  /  images  
File Role Description
  Image file myDBO_small.jpg Icon MyDBO logo
  Image file mysql.jpg Icon MySQL logo
  Image file php-power-micro2.png Icon PHP icon
  Image file smarty-80x15.png Icon Smarty Logo

  Files folder image Files  /  plugins  
File Role Description
Files folder imagebusinessLogicLayer (2 files)
Files folder imagedataAccessLayer (5 files)
Files folder imagedbControls (8 files)
Files folder imageinstantAdmin (23 files)

  Files folder image Files  /  plugins  /  businessLogicLayer  
File Role Description
  Plain text file dbo_table.tpl Class Database table abstraction class file template
  Plain text file plugin.xml Data Plugin configuration file

  Files folder image Files  /  plugins  /  dataAccessLayer  
File Role Description
  Plain text file dbo_coll.tpl Class Table collection class template
  Plain text file dbo_conf.tpl Conf. Plug-in template
  Plain text file dbo_obj.tpl Class DB table column abstraction class file template
  Plain text file dbo_wrapper.tpl Class Database wrapper class template
  Plain text file plugin.xml Data Plugin configuration file

  Files folder image Files  /  plugins  /  dbControls  
File Role Description
  Plain text file dbc_admin.tpl Data Index file for DBC template
  Plain text file dbc_creator.tpl Appl. Creator template
  Plain text file dbc_css.tpl Data CSS file for DBC template
  Plain text file dbc_editor.tpl Appl. Editor for DBC template
  Plain text file dbc_lister.tpl Appl. Lister for DBC template
  Plain text file dbc_remover.tpl Appl. Remover for DBC template
  Plain text file dbc_viewer.tpl Appl. Viewer for DBC template
  Plain text file plugin.xml Data Plug in configuration file

  Files folder image Files  /  plugins  /  instantAdmin  
File Role Description
  Plain text file coll.tpl Class Database collection class file template
  Plain text file conf.tpl Conf. Database configuration file template
  Plain text file css.tpl Data CSS stylesheet template
  Plain text file dir_template_c.tpl Data Text file
  Plain text file index.tpl Appl. Plugin index file template
  Plain text file install.tpl Doc. Plugin Install documentation
  Plain text file mySmarty.tpl Class Custom Smarty class file template
  Plain text file obj.tpl Class Database object class file template
  Plain text file page_create.tpl Appl. Create database entry script template
  Plain text file page_edit.tpl Appl. Edit a database entry script template
  Plain text file page_home.tpl Appl. Application home page
  Plain text file page_list.tpl Appl. List database entries script template
  Plain text file page_remove.tpl Appl. Remove database entry script template
  Plain text file page_view.tpl Appl. View database entry script template
  Plain text file plugin.xml Data Plugin configuration file
  Plain text file smarty_create.tpl Data HTML create form template
  Plain text file smarty_edit.tpl Data HTML edit form template
  Plain text file smarty_home.tpl Data HTML home page
  Plain text file smarty_list.tpl Data HTML list template
  Plain text file smarty_page.tpl Data HTML web interface template
  Plain text file smarty_view.tpl Data HTML viewer template
  Plain text file table.tpl Class Database table class file template
  Plain text file wrapper.tpl Class Database wrapper class file template

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,607
This week:0
All time:2,370
This week:1,066Up
User Comments (1)
Excellent
7 years ago (kishore kumar)
80%StarStarStarStarStar