lime icon

Phosphorus and Lime

A Developer's Broadsheet

This blog has been deprecated. Please visit my new blog at klenwell.com/press.
PHP: Database Abstraction (PEAR::DB vs. ADOdb)
Until now, in using MySQL with PHP, I've just adapted the native mysql function to my own uses. For instance, I have a mysql_update_array() function that simplifies updating values in a single row in a table.

But now that I contemplating migrating to PostGreSQL, it occurred to me that now is the time to seriously investigate an abstract DB class -- and find the best open source one out there.

This forum was helpful:

phplens.com

I think it's the site run by the creator of ADODb, but the arguments are convincing. In the event, I think I'll go with ADOdb Lite.