Re: is my approach to using DB_DataObject sensible?

From: Date: Wed, 28 Sep 2005 20:04:07 +0000
Subject: Re: is my approach to using DB_DataObject sensible?
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-21135@lists.php.net to get a copy of this message
On Sep 28, 2005, at 3:53 PM, Roger Rohrbach wrote:
Justin Patrin wrote:
On 9/26/05, Roger Rohrbach <roger@ecstatic.com> wrote:
I'm using DB_DataObject for the first time. After playing around with it a bit, and given the following: * I don't want to edit the auto-generated classes
Why not? This is the sensible way to do things.
My schema is in flux, and leaving the auto-generated classes alone allows me to update them automatically when the schema changes, rather than maintain them by hand.
I regularly work with DB_DataObject while my schemas are in flux. So long as you place your code beneath the lines:
    /* the code above is auto generated do not remove the tag below */
    ###END_AUTOCODE
Then when you regenerate the DOs your code will remain intact. James. -- James Stewart Play: http://james.anthropiccollective.org Work: http://jystewart.net

« previous php.pear.general (#21135) next »