Sunday, May 07, 2006
ADOdb Implementation of Active Record: cloning Zend_Db_DataObject | PHP Everywhere
The Active Record pattern is becoming extremely popular because it allows you to hide many implementation details for loading, inserting and updating data. For example, the following code reads a record from the Products table, and allows you to update some fields without SQL. Works in both PHP4 and 5!
Read more at ADOdb Implementation of Active Record: cloning Zend_Db_DataObject | PHP Everywhere