Pear Doubt

From: Date: Mon, 20 Jan 2003 12:15:20 +0000
Subject: Pear Doubt
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-3357@lists.php.net to get a copy of this message
Hi All, One of my friend told something about Pear which is bothering me. Just want to Verify, can this be true. Is ADODB faster than Pear. <snip> Well PEAR might sound like a good thing, but it is not always the best solution. In the area of DB Abstraction ADODB is much more efficient and my understanding is that the library is at least partially developed by someone using it for a commercial product...ie there is good reason to code it well and keep it maintained. Not all hosting providers are going to properly setup PEAR or keep a very current version available. I know you can do it on your own, but it's yet another thing to keep someone from using it. Often you don't need all the weight of the PEAR libraries to get a job done and it can be better to write your own or at least borrow from thier work to make your own. I don't like to reinvent the wheel but sometimes you can make a much better wheel to suit your needs ;-] </snip> <snip> The PostNuke www.postnuke.com project struggled with the PEAR vs. ADODB issue for a bit and choose ADODB in the end. Someone during that time ran some benchmarks and it showed that ADODB was a bit better in speed etc. It is very easy to use and you can switch db's with a single line of code...I think over 12 dbs are supported currently. I used it recently and found it easy to learn how things are done in ADODB and for projects that need portability, I plan on using it. Your still better writing code for one db if perf is your goal and not portability. </snip> Have a great day. Karthikeyan B

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