>
>Of course yet-another-database-interface-layer while certainly a good
>and usefull piece of engineering wouldn't be particularly new and
>innovative. What _would_ be new and innovate, and maybe even impressive
>is a database interface layer that provides not just the usual database
>independant connect / query / result stuff but an organized, database
>independant way of accessing metadata. Writing SQL queries that derive
>metadata by futzing around with the pg_* tables works but is totally
>non-portable. What I would really like to see is a database interface
>layer that encapsulates all that nasty mess. Metadata and other
>introspective stuff is a glaring ommission from SQL.
You should see this pear tutorial. Pear have an abstraction layer library
for databases.
http://www.phpbuilder.com/columns/allan20010115.php3