PHP Classes
elePHPant
Icontem

dbORM: Generate classes to access MySQL tables as objects

Recommend this page to a friend!
  Info   Screenshots Screenshots   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2012-01-20 (4 years ago) RSS 2.0 feedNot enough user ratingsTotal: 608 This week: 1All time: 4,905 This week: 1,047Up
Version License PHP version Categories
dborm 1.0GNU General Publi...5PHP 5, Databases, Code Generation
Description Author

This class can generate classes of objects to access MySQL tables as objects.

It takes the name of a MySQL table and generates a class with a given name that maps between the given table records and class objects.

The generated class has functions to create, retrieve, update and delete records of the given table.

The list of table fields that are mapped to class variables is configurable.

It generates functions to get objects by identifier value, as well for each field with foriegn keys, indexes and unique keys, get all objects of a table, find objects by search, create, retrieve, update and delete rows.

Picture of Besmir Alia
Name: Besmir Alia <contact>
Classes: 1 package by
Country: Albania Albania

Screenshots  
  • screenshot
  Files folder image Files  
File Role Description
Plain text file config.php Conf. Just put your db-configs for a start database
Plain text file db.php Aux. Connects to a database
Plain text file dbORM.class.php Class This file generates scripts
Plain text file index.php Example Main UI to select db and talbe
Plain text file sample-output.php Output This is a sample output
Plain text file start.php Aux. Contains a simple session start command

 Version Control Unique User Downloads Download Rankings  
 0%
Total:608
This week:1
All time:4,905
This week:1,047Up