Linux.com

Re:This is good info

Posted by: Administrator on February 26, 2004 02:06 AM

When starting out, start out right with ado-db and don't look back. It'll ease transitions incase you ever have to change engines.


I am curious, why not use the DB module[1] that is included along with the standard PEAR distribution? Do you feel there are advantages to using ado-db over PEAR DB?





I started out using DB dependent calls (e.g. mysql_connect, etc.) but quickly migrated to PEAR DB as I became aware of its existence because of the layer of abstraction and DB independence its provides. If there is an even better module for abstracting the DB then PEAR DB, I am definitely interested in hearing more about it.





[1]http://pear.php.net/package/DB

#

Return to Working with industrial-strength databases