Login   Register  
PHP Classes
elePHPant
Icontem

Class: Active Relational Record

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Shaikh Sonny Aman  >  Active Relational Record  >  Download .tar.gz .zip  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Active Relational Record
Base name: activerelrecord
Description: Store and retrieve objects from a database
Related classes: , , , , , ,
Version: -
PHP version: 5.0
License: Artistic License
All time users: 1742 users
All time rank: 1874
Week users: 8 users
Week rank: 426
Picture of Shaikh Sonny Aman
Author: Shaikh Sonny Aman <e-mail contact>
Packages: 2 Browse this author's classes Browse this author's classes
Country: Bangladesh Bangladesh - PHP jobs in Bangladesh
Age: 32
All time rank: 104115 in Bangladesh Bangladesh
Week rank: 453 Up16 in Bangladesh Bangladesh Down


  Detailed description  
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.

 

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Design Patterns Implementations of well known design patterns View top rated classes

  Rate classes User ratings   Applications   Files Files  

  User ratings  
Ratings
Utility
Consistency
Documentation
Examples
Tests
Videos
Overall
Rank
All time:
Sufficient (66.7%)
Good (91.7%)
-
-
-
-
Not sure (42.5%)
1887
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
Plain text file ActiveRelationalRecord.php Class Active Relational Record class source file
Plain text file ActiveRelationalRecord_v0.2.php Class Some bug fixed

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