Login   Register  
PHP Classes
elePHPant
Icontem

Abstract SQL Table to Object: Map table rows to objects with Active Record

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (5)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2007-04-10 (7 years ago) RSS 2.0 feedStarStarStar 50%Total: 3,110 This week: 1All time: 1,079 This week: 1,364Down
Version License PHP version Categories  
parentdbtoclass 1.1Freeware4.3Databases, Design Patterns
Description Author  

This package uses the Active Record design pattern to map database table records to objects.

It provides a base class from which all classes that map database tables should inherit.

The sub-class should define the table it is wrapping, the primary key field and variables to store the table field values.

The base class can query the database to retrieve the list of fields of the specified table. It can also perform all the basic operations of INSERT, SELECT, UPDATE and DELETE the mapped table rows.

This package uses ADODb database abstraction package so it can support multiple databases.

Picture of Sergey Shilko
Name: Sergey Shilko <contact>
Classes: 4 packages by
Country: Belarus Belarus
Age: 29
All time rank: 3302 in Belarus Belarus
Week rank: 1060 Down2 in Belarus Belarus Equal

  Files folder image Files  
File Role Description
Plain text file coredb.class.php Class DatabaseHandler
Plain text file j-coredb.class.php Class Joomla CMS 1.0.12 Databasehandler Wrapper
Plain text file parent.dbtoclass.php Class Parent Database to Class handller
Accessible without login Plain text file readme.txt Doc. Simple Readme First File
Accessible without login Plain text file sample.php Example Sample child of main class

 Version Control Unique User Downloads Download Rankings  
 0%Total:3,110All time:1,079
 This week:1This week:1,364Down
 User Ratings  
 
 All time
Utility:68%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:50%StarStarStar
Examples:50%StarStarStar
Tests:-
Videos:-
Overall:50%StarStarStar
Rank:1599