MDB_DataObject - was Re: [PEAR] Starting with MDB

From: Date: Sat, 03 May 2003 01:32:21 +0000
Subject: MDB_DataObject - was Re: [PEAR] Starting with MDB
References: 1 2  Groups: php.pear.general php.pear.general 
Request: Send a blank email to pear-general+get-5208@lists.php.net to get a copy of this message
Thank you Lukas! Do you know if there's something like DB_Dataobject for MDB? In fact, I'd like some other approach than the used by Dataobject, but I can't find other. It is under discussion at the moment - as I can see alot of advantages - like doing
$object->somedate = '12 jan 2002' and it automatically getting translated into 2002-01-12 at the query level. Sorry no promises on timescales.. - but It is on the adgenda.. Regards Alan
The thing is, If I use MDB and a template system like ITX, for example, I get a wonderful 3 layers system: Data abstraction (MDB), Business Logic (My code), Presentation abstraction (Templates). But I'd like a layer or something that enables me to get rid of SQL code in my business layer. I mean SELECT, etc. Thanks Bytes DAC


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