PDO ActiveRecord

Package:
PDO ActiveRecord
Summary:
Store and retrieve objects from databases with PDO
Groups:
Databases, Design Patterns, PHP 5
Author:
ter
Description:
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.


Tags: ,

This entry was posted on Monday, November 30th, 2009 at 8:30 pm
Entry is filed under Classes.
Read original posting here.
You can follow any responses to this entry through the RSS 2.0 feed.

You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply

You must be logged in to post a comment.