From: Karsten D. <k.d...@tu...> - 2001-03-26 14:17:32
|
On Sat, Mar 24, 2001 at 12:14:07PM -0600, Geoff Staples wrote: > One of the problems with addons like phpLib is that it complicates the > installation process because you have to install phpLib before you can > install the application software. And, once you have your application You don't have to install a seperate version. Patrick Renaghan's (sp?!) bookmarker is an excellent example for that, and it seems to be widely used. You can bundle phplib with your application, phplib being packed in a subdirectory. You can then take the "include approach" instead of the "auto_prepend" approach. This way you can simplify installation, be sure of a working setup and have the ability to coexist with other phplib-aware tools on the same server. > But, here's the bigger question: Do we want phpWebsite to be dependent on > addon libraries that we don't control? It is OpenSource, you can take care of the code yourself, if need be. Plus the ability to use a "come along" version as laid out above, there is nothing "out of control". > something that can wait until PHP has native support. Is it something we can > write for ourselves and integrate into phpWebsite? Can we "steal" the > functionality from phpLib and integrate it into phpWebsite? I would consider this "duplicating coding efforts" - which is carp, IMHO. We can rely on phplib, and if need be - tehy are giving CVS access to anyone who seem to be able to contribute useful code. As it seems at the moment, the PEAR merge will take place, but there will be at least a 7.2d bugfix release and there might be a 8.0 release with PHP4 sessions and all that stuf natively built in. Notice that PHP4 sessions for phplib are available, although I haven't used them yet. Anyway, see the attached message from Kristian Köhntopp (one of the main phplib developers) for an explanation how he avoids using phplib nowadays. As to toss a vote on the phplib vs. ADODB thing: If we use phplib at all, we should use it's DB layer. If not, I don't care too much. ADODB seems to have a sensible interface, as far as I looked at it. I didn't look under the hood, though. Regards, Karsten -- Why do we have to hide from the police, daddy? Because we use emacs, son. They use vi. ----------------------------- mailto:k.d...@tu... w³: http://www.k-fish.de/ gpg: http://www.k-fish.de/mykeys.gpg |