News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPEveryhwere:
ADOdb Implementation of Active Record - cloning Zend_Db_DataObject
May 08, 2006 @ 05:49:16

John Lim has posted an example of using the ADOdb software he's a developer on to clone the functionality of Zend's Zend_Db_DataObject.

The Zend Framework Preview edition is out. I had look this morning at Zend_Db_DataObject, which is an implementation of the Active Record pattern. After reading the tutorial, decided to implement something similar for ADOdb. After a couple of hours coding, I had an implementation that works with both PHP4 and PHP5, and provides a superset of the functionality described in the above link.

ActiveRecord, a method of database usage where the tables can "self-define" in your script (and you work with objects instead of messing with columns) is cropping up more and more, and John gives a code example of how it can be used inside ADOdb as well. He also mentions some of the advantages to using this kind of code/library, including the fact that it will work with both PHP4 and PHP5.

0 comments voice your opinion now!
adodb framework activerecord zend_db_dataobject cloning adodb framework activerecord zend_db_dataobject cloning


blog comments powered by Disqus

Similar Posts

The Bakery: Four New Articles/Components (Colors, Models, InotImg & CakeSWXPHP)

Symfony Blog: The "Practical symfony" book is now also available for Doctrine

The Bakery: Basic User Authentication in (CakePHP) 1.2.x

Christian Wenz's Blog: WSO2 Web Services Framework (WSF)/PHP v1.0.0 Released

PHPBuilder.com: Add Custom Components to Your PHP Development with PRADO


Community Events











Don't see your event here?
Let us know!


application performance unittest introduction component security hhvm symfony2 release composer package hack framework podcast code database language threedevsandamaybe facebook install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework