|
|
Re: intoducing dbobj: msg#00003
|
Subject: |
Re: intoducing dbobj |
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
|
| |