Re: intoducing dbobj
| From: | Lukas Smith | Date: | Wed, 01 Feb 2006 19:06:08 +0000 |
| Subject: | Re: intoducing dbobj | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-3472@lists.php.net to get a copy of this message | ||
Adamx wrote:
I hope this project will reach the state where i can compare the speed of the direct libpq use vs. handling postgreSQL with PDO.PDO is just a very thin layer around the native API. It defines a common API for key aspects but leaves it upto the given PDO driver what additional native functionality it wants to expose. As for structure I recommend that you do not use anything like XML or ini files. Those are formats the user may employ or not. I think using arrays is the natural approach here. You may look into how PEAR::DB_DatabObject, PEAR::LiveUser, PEAR::MDB2_Schema and PECL::sdo approach this topic. Maybe there is room for some array structure consolidation. I am certainly open for this as the lead maintainer of PEAR::LiveUser and PEAR::MDB2_Schema. regards, Lukas