R: [Phplib-users] PEAR versus phplib
Brought to you by:
nhruby,
richardarcher
From: Gaetano G. <giu...@se...> - 2002-09-19 13:10:43
|
Disclaimer: I am not an official phplib programmer. And this reply is = way off-topic... > Hi, >=20 > just for being up-to-date: Is there any news about the=20 > progress with PEAR > in comparison to phplib? I remember some speed comparisons with MySQL > where phplib's db_mysql.inc eventually turned out to be the winner > concerning performance. >=20 There were some tests done not too long ago done by the coder of the = ADODB library, concerning DB access speed. ADODB was a clear winner, if = I remember correctly. IMHO the big advantages of using an universal db-acces framework are = ease of use and consistency, not speed. Speed varies much depending on = wether you use bind variables and stored procedures (talking about = Oracle, other DBs have different rules), so I spend my time optimizing = SQL rather than PHP code... I use my own DB access library (based on PhpDB and haevily tweaked) for = db access, and have modified phplib to sit on top of it: I really do not = like too much the pear-db design. On the other hand PEAR is (was?) distributed along with PHP, so it has a = clear advantage over phplib. It also is being developed really more actively than phplib is. I have = heard people complaining about phplib not incorporating patches very = quickly, and traffic on this list dropped dead when it moved to = sourceforge (actually I had unsubscribed beforehand coz it was too = much). But I would really like to see phplib thrive and get better. My own wishes: - make it compatible with REGISTER_GLOBALS OFF! Either have 2 API sets = or just dump the old code, I don't mind too much as long as it is = compatible with new releases of PHP. - provide alternatives to the db-access layer, e.g. better integration = w. adodb or pear-db etc... - provide integration with other php projects that do all the = auth-session over again, e.g. phpBB Bye, Gaetano Oh, and yes, I know, this is open source, so if I need something I can = do it myself... |