Re: FW: [PHP] Why the PEAR hate?
On 16 November 2010 17:25, Hansen, Mike mike.han...@atmel.com wrote: -Original Message- From: Hansen, Mike Sent: Tuesday, November 16, 2010 10:24 AM To: 'Daniel Brown' Subject: RE: [PHP] Why the PEAR hate? -Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Some of the PEAR stuff is older and unmaintained, which is one possible reason. More likely is that folks often expect PEAR to be the end-all, be-all, and that was never the intent. PEAR is supposed to jump-start a project and extend some built-in functionality, not provide a framework or do all of the work for folks who consider themselves programmers because they can iterate an array in just twenty-seven lines of procedural code. As for folks who say that PEAR and PECL don't work --- the most common reason for this is user error or system configuration issues. I've experienced the same issues myself over the years quite frustrating, but sure enough, it was my fault most times. Oops...I just replied to Daniel. Is PEAR supposed to be the CPAN for PHP, or is there another repository of PHP modules that is used by the typical PHP developer? It depends what you want to use. I use PEAR's Console_CommandLine_Parser and Zend Framework's autoloader, config and SOAP/WSDL classes. Mix'n'match is the name of the game. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: FW: [PHP] Why the PEAR hate?
On Tue, Nov 16, 2010 at 12:25, Hansen, Mike mike.han...@atmel.com wrote: Is PEAR supposed to be the CPAN for PHP, or is there another repository of PHP modules that is used by the typical PHP developer? PEAR is to PHP what CPAN is to Perl, yes but there's really no such thing as PHP modules that are used by the typical PHP developer --- specifically because there's no typical developer with PHP. There's a huge variety of RADs/IDEs that work great with PHP, as well as frameworks, extensions, libraries, et cetera. For that reason, the PHP developer is a unique entity; there may be similarities, but that's as far as it goes, really. That said, your best bet is to try PEAR for yourself and see what you think, but always keep fresh with changes and such, including reviewing other libraries. As I said, a lot of PEAR code is older and unmaintained. Some isn't even compatible with PHP5. Your best judgment and experience is the true measure of success, not any specific repositories or collections. -- /Daniel P. Brown Network Infrastructure Manager Documentation, Webmaster Teams http://www.php.net/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: FW: [PHP] Why the PEAR hate?
On Tue, 2010-11-16 at 10:25 -0700, Hansen, Mike wrote: -Original Message- From: Hansen, Mike Sent: Tuesday, November 16, 2010 10:24 AM To: 'Daniel Brown' Subject: RE: [PHP] Why the PEAR hate? -Original Message- From: paras...@gmail.com [mailto:paras...@gmail.com] On Behalf Of Daniel Brown Some of the PEAR stuff is older and unmaintained, which is one possible reason. More likely is that folks often expect PEAR to be the end-all, be-all, and that was never the intent. PEAR is supposed to jump-start a project and extend some built-in functionality, not provide a framework or do all of the work for folks who consider themselves programmers because they can iterate an array in just twenty-seven lines of procedural code. As for folks who say that PEAR and PECL don't work --- the most common reason for this is user error or system configuration issues. I've experienced the same issues myself over the years quite frustrating, but sure enough, it was my fault most times. Oops...I just replied to Daniel. Is PEAR supposed to be the CPAN for PHP, or is there another repository of PHP modules that is used by the typical PHP developer? the only pear module i use, is MDB2... and i would actually change from it, if i could find something comparable... i suppose i could write my own, but it works, and have been using it for a few years now. any suggestions to a replacement? Steve -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php