RE: [PEAR] DB vs MDB??

From: Date: Fri, 27 Jun 2003 15:09:48 +0000
Subject: RE: [PEAR] DB vs MDB??
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-6295@lists.php.net to get a copy of this message
> From: Graham Clarke [mailto:grahamc@53tech.com] > Sent: Friday, June 27, 2003 8:08 PM > To: pear-general@lists.php.net > Subject: [PEAR] DB vs MDB?? > > Here's a big question -- > > Why one instead of the other? > > I'm using DB now and looked at the docs for MDB, but decided against > because it looks complicated. > > What are the pros & cons of each? This question has been asked before, so I suggest you take a look at the archives. Quick summary: - DB is more a common API, while MDB goes further and allows to actually create apps that work the same across all supported databases - DB has a much simpler API because it does less obviously (however MDB 1.x is needlessly complicated for beginning users, something which will improve with MDB 2.0) - DB is older and therefore more mature in terms of reliability and driver support BTW: you may also want to look at the following article I wrote for php mag which is freely available here: http://www.php-mag.net/itr/online_artikel/show.php3?id=283&nodeid=114 regards, Lukas

« previous php.pear.general (#6295) next »