Login   Register  
PHP Classes

Object Generator: Generate DAO classes from database table structure

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Andres Dario Gutierrez Poveda
Name: Andres Dario Gutierrez ... <e-mail contact>
Packages: 7 Browse all classes by Andres Dario Gutierrez Poveda Browse all classes by
Country: Colombia Colombia - PHP jobs in Colombia
Age: 35
All time rank: 942 in Colombia Colombia
Week rank: 314 Down2 in Colombia Colombia Equal
Innovation award
Innovation award
Nominee: 2x

Winner: 1x

  Detailed description   Download Download .zip .tar.gz  
This class generates the Data Access Object (DAO) classes by retrieving the structure of database tables.

The generated DAO classes have:

- Set and Get functions for each table field.
- A function which can retrieve the data from a table record just passing the its id primary key value.

The class comments are in Spanish.

  Classes of Andres Dario Gutierrez Poveda  >  Object Generator  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Object Generator
Base name: objectgenerator
Description: Generate DAO classes from database table structure
Version: -
PHP version: -
License: GNU General Public License (GPL)
All time users: 3130 users
All time rank: 1046
Week users: 1 user
Week rank: 1765 Down
  Groups   Rate classes User ratings   Applications   Files Files  

Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Code Generation Compilers and tools that generate code automatically View top rated classes

  Innovation Award  
PHP Programming Innovation award nominee
July 2004
Number 7
Data Access Objects (DAO) is nowadays a common design pattern that many PHP developers have been using to wrap the manipulation of information stored in databases or other types of storage, around and object oriented API.

Since it follows a well known design pattern, there are already several tools capable of automatically generating the code of DAO classes from an high level definition of the data model.

This class offers a slightly different solution by generating DAO classes from the definition of the table structure of an existing database. This approach makes it easier for developers to migrate existing applications to start using the DAO design pattern.

Manuel Lemos

  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (62.5%) Sufficient (62.5%) - Not sure (56.2%) - - Not sure (43.1%) 1994
Month: Not yet rated by the users

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Accessible without login Plain text file Example Example Example of usage
Plain text file generadorobjetos.class.php Class ObjectGenerator

Download Download all files: objectgenerator.tar.gz objectgenerator.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.