PHP Classes

PDO ActiveRecord: Store and retrieve objects from databases with PDO

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 64%Total: 991 This week: 1All time: 3,654 This week: 174Up
Version License PHP version Categories
pdo-active-record 1.0.0BSD License5.0PHP 5, Databases, Design Patterns
Description Author

This class can be used to store and retrieve objects from databases with PDO.

It implements the Active Record design pattern to create, retrieve, update and delete objects that are mapped to given database tables.

The class implements lazy loading so when a class variable is accessed before the respective database record was retrieved, it executes a query to get the class variable values from the database.

Picture of ter
Name: ter <contact>
Classes: 1 package by
Country: Russian Federation Russian Federation
Age: ???
All time rank: 236268 in Russian Federation Russian Federation
Week rank: 182 Up11 in Russian Federation Russian Federation Up

  Files folder image Files  
File Role Description
Plain text file ActiveRecord.php Class Class source code
Accessible without login Plain text file example.php Example Example, showed how to use class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:991
This week:1
All time:3,654
This week:174Up
User Ratings User Comments (1)
 All time
Utility:91%StarStarStarStarStar
Consistency:91%StarStarStarStarStar
Documentation:-
Examples:91%StarStarStarStarStar
Tests:-
Videos:-
Overall:64%StarStarStarStar
Rank:938
 
Thank you very much!
12 years ago (Pali)
70%StarStarStarStar
 
For more information send a message to info at phpclasses dot org.