Login   Register  
PHP Classes
elePHPant
Icontem

Active Relational Record: Store and retrieve objects from a database

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 (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2008-03-27 (6 years ago) RSS 2.0 feedStarStarStar 42%Total: 2,204 This week: 1All time: 1,665 This week: 1,364Up
Version License PHP version Categories  
activerelrecord 1.0.0Artistic License5.0PHP 5, Databases, Design Patterns
Description Author  

This class can be used to store and retrieve objects in a relational database using the Active Record design pattern.

It can initialize an object that is mapped to a given database table turning table fields into variables of the object class.

The class may optionally load object variable values from GET or POST values.

The class also supports relationships in order to retrieve related objects into an array.

When an object is changed, the class may also take care of of updating the respective database table record.

The database access is implemented by a separate database abstraction layer (DAL) object.

Currently this package comes with a MySQL DAL class but others may be provided to support other databases.

Picture of Shaikh Sonny Aman
Name: Shaikh Sonny Aman <contact>
Classes: 2 packages by
Country: Bangladesh Bangladesh
Age: 35
All time rank: 100716 in Bangladesh Bangladesh
Week rank: 1043 Down24 in Bangladesh Bangladesh Down

  Files folder image Files  
File Role Description
Plain text file ActiveRelationalRecord.php Class Active Relational Record class source file
Plain text file ActiveRelationalRecord_v0.2.php Class Some bug fixed

 Version Control Unique User Downloads Download Rankings  
 0%Total:2,204All time:1,665
 This week:1This week:1,364Up
User Ratings User Comments (1)  
 All time
Utility:66%StarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:-
Tests:-
Videos:-
Overall:42%StarStarStar
Rank:2078
 
Its seem like the idea from CakePHP.
6 years ago (felix chua)
45%StarStarStar