Re: New Package: HTML_DB

From: Date: Sat, 26 Apr 2003 20:00:37 +0000
Subject: Re: New Package: HTML_DB
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-15582@lists.php.net to get a copy of this message
On Fri, 25 Apr 2003, Matthew Palmer wrote: > I'm pretty sure that all the information one might ever require is in the > DBDO docs, but it's hard to find. Unless I'm pretty sure I'm going to need > the full power of DBDO, I'm going to write my own (and I have, actually, If you need less features with simpler api you might wanna check DB_DataContainer (it was originally also called DB_DataObject but since Alan introduced DB_DataObject I changed the name). It is not part of PEAR but is PEAR compliant. I could offer it to PEAR but never did since there already is the DB_DataObject. The main difference is one object allways represents one row in database. Multiobject actions are provided via one static method. With recend PHP with working overload extension you can also generate accessor (getXxx() and setXxx()) methods runtime. No external config files are required you just need to have corresponding property names in the extending class and the column names in the database table. http://www.appelsiini.net/~tuupola/php/DB_DataContainer/ -- Mika Tuupola http://www.appelsiini.net/~tuupola/

« previous php.pear.dev (#15582) next »