<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Tue, 21 May 2013 19:03:14 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPEveryhwere: ADOdb Implementation of Active Record - cloning Zend_Db_DataObject]]></title>
      <guid>http://www.phpdeveloper.org/news/5318</guid>
      <link>http://www.phpdeveloper.org/news/5318</link>
      <description><![CDATA[<p>
<i>John Lim</i> has posted <a href="http://phplens.com/phpeverywhere/?q=node/view/228">an example</a> of using the ADOdb software he's a developer on to clone the functionality of Zend's Zend_Db_DataObject.
</p>
<quote>
<i>
The Zend Framework Preview edition is <a href="http://framework.zend.com/">out</a>. I had look this morning at <a href="http://framework.zend.com/manual/zend.db.dataobject.html">Zend_Db_DataObject</a>, 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.
</i>
</quote>
<p>
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 <i>John</i> <a href="http://phplens.com/phpeverywhere/?q=node/view/228">gives a code example</a> 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.
</p>]]></description>
      <pubDate>Mon, 08 May 2006 05:49:16 -0500</pubDate>
    </item>
  </channel>
</rss>
