At 11:56 AM -0700 8/10/04, Ed Lazor wrote:Of course, this begs the question of why you're re-implementing what has been done so many times in the past.
Hey, while you guys are talking about those DB classes, I've always opted to not use them because of associated overhead costs in cpu load, processing time, memory requirements, etc.. In other words, pages don't display as quickly when you add all of that overhead. Maybe things have changed though. Does anyone have opinions or specs on how much overhead the libraries add?
-Ed
As you mention, one reason for writing one's own is to cut out much of the overhead (lots of extra code to load per page) imposed by those abstraction classes. If you want to compare how they perform:
http://phplens.com/lens/adodb/
ADO DB has been moving some of the functions into a C extension but of course that takes more setup time to compile the extension and modify php.ini. Having those functions in an extension means that the code is available without having to load and parse for each script.
Here is an option you did not mention, EZSQL:
http://www.jvmultimedia.com/home/articles.php?articleId=2
One thing you could do is to download the class and extract just the functions you need.
-- Michael __ ||| Michael Collins ||| Kuwago Inc ||| Singapore and Seattle USA
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php