From: Todd O. <to...@da...> - 2001-03-03 23:07:36
|
Richard, I tend to agree with Karsten that we should use PEAR or something else "standard", if there is such a thing, or phplib. The sourceforge list archives are still down so I don't have the benefit of reading the old messages. I too would like to know who is working (or in charge) of what in the code base. This would be helpful for sub-team collaberation. --Todd |
From: Richard R. <rr...@sh...> - 2001-03-04 20:53:42
|
On Saturday 03 March 2001 17:11, you wrote: > Richard, I tend to agree with Karsten that we should use PEAR or something > else "standard", if there is such a thing, or phplib. > > The sourceforge list archives are still down so I don't have the benefit of > reading the old messages. I too would like to know who is working (or in > charge) of what in the code base. This would be helpful for sub-team > collaberation. My major conecerns with PEAR are: A. It is mosty vapor at the moment. (check for yourslef http://pear.php.net/) B. The write up I saw on the PHPBuilder site (http://www.phpbuilder.com/columns/allan20010115.php3) mentioned support for the trivial stuff, but left out the harder, but important stuff like: 1. Escaping strings (IE in Postgres a ' must be escaped \' and in MSSQL it is escaped '') 2. Handling dates (Every database handles them differently, thank the SQL standard for that) C. Almost zero documentation (relates back to A) I guess I'm in favor of a best of bread approach. However, if the powers that be would rather go with the (currently) vapor "standard" then so be it. I'm hopefull that PEAR will improve as time goes on. Besides, I'm not a big fan of the ASPish syntax of ADODB anyway but it doesn't have any of the problems I mentioned above concerning the PEAR stuff. I haven't looked at PHPLib, I will do so and venture an opinion. _________________________ Richard Rowell rr...@sh... If Java had true garbage collection, most programs would delete themselves upon execution. - Robert Sewell |
From: Karsten D. <k.d...@tu...> - 2001-03-05 15:30:44
|
On Sun, Mar 04, 2001 at 03:10:08PM -0600, Richard Rowell wrote: > On Saturday 03 March 2001 17:11, you wrote: > > Richard, I tend to agree with Karsten that we should use PEAR or someth= ing > > else "standard", if there is such a thing, or phplib. >=20 > My major conecerns with PEAR are: > A. It is mosty vapor at the moment. (check for yourslef http://pear.php.= net/) Well, as far as I got it, the code is more advanced than documentation and website. > B. The write up I saw on the PHPBuilder site > (http://www.phpbuilder.com/columns/allan20010115.php3) Quickly read that, and I think it sounds fairly good... But I did not read the comments on the article, maybe there is some hard criticism in them. More worries are caused on my side by an email on the phplib mailing list I got today (phplib will be merged into PEAR, that is the plan so far). Let me quote a little bit: =3D=3D=3D=3D=3D=3D=3Dsnip=3D=3D=3D=3D=3D=3D > Yes, there are some problems with PEAR (and PHPLib) now. PEAR seems to > choose not the right way (IMHO) - making well-organized (that's well), > but almost unusable stuff. PEAR::DB (the main thing in the PEAR now, > that could be used in the real life) is obviously too slow compared to > the PHPLIB counterpart, missing obvious things (like affected_rows, > which almost every DB supports, num_rows for Mysql, for example). =20 > I consider it a bloatware (sorry, Stig). I buy nearly all of this, the PEAR stile tends to overdo things and make code too slow. I currently have problems to keep out all that from the new cache stuff as people already ask for more hidden addslashes() when saving cache data to and for error handling 1 + 1... But instead of complaining, who will tell this to Stig and Chuck? Who will start the argue? =3D=3D=3D=3D=3D=3D=3D=3Dsnip=3D=3D=3D=3D=3D=3D The unsupported stuff is probably going to be added and/or fixed over time, but the speed issue is something that worries me. More comments on that see below... > C. Almost zero documentation (relates back to A) That's a point. > I haven't looked at PHPLib, I will do so and venture an opinion. OK, as far as phplib is concerned: it works very well, is quite complete, simple and fast. But it is scheduled to be merged into PEAR (as mentioned above), so it might not be the best idea to use it for a (new) project. Has anyone looked at metabase by manuel Lemos? It can be found at phpclasses.upperdesign.com and claims to be more or less the db abstraction layer with the most complete feature set and has some very nifty features (like XML based database description, allowing to initialize all supported databases from on XML description file. This makes all those xxxxx.sql file superflous). But I didn't really look into this yet. Bye, Karsten --=20 Why do we have to hide from the police, daddy? Because we use emacs, son. They use vi. ----------------------------- mailto:k.d...@tu... w=B3: http://www.k-fish.de/ gpg: http://www.k-fish.de/mykeys.gpg |
From: Todd O. <to...@da...> - 2001-03-05 16:57:37
|
I too read the concern about PEAR, but think it may be some sour grapes too. I encourage everyone to read the PEAR archives for themselves (several hundred messages per month, but has search capabilities): http://www.php.net/support.php I agree that the HTML "documentation" is worse than poor and gives most the impression that it's vaporware. I think rolling our own DB wrapper would be a mistake in light of other projects with the same goal. Does the project already have volunteers who want to take on this portion of the project? --Todd Owen |