PHP Classes

dbORM: Generate classes to access MySQL tables as objects

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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 (3 years ago) RSS 2.0 feedNot yet rated by the usersTotal: 603 All time: 4,852 This week: 1,078Up
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
Age: 30
All time rank: 28013 in Albania Albania
Week rank: 1623 Up3 in Albania Albania Equal

  • 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:603All time:4,852
 This week:0This week:1,078Up