LogoPhly, boy, phly
the weblog and site of Matthew Weier O'Phinney

Monday, April 11. 2005

PEAR, Channels, and Frameworks

Greg Beaver writes in his blog about PEAR, the new PEAR channels, and some issues he sees with PEAR and its developers. Greg is responsible for the latest version of PEAR and the PEAR installer -- and for the development of PEAR channels. The particular link referenced above makes reference to a thread on the PEAR-dev mailing list... that I originated, when asking whether or not Cgiapp might be a good fit for PEAR.

I've been following with some interest Greg's development of channels, but for a while couldn't see quite what the point was.... until pearified.net started offering Smarty via a pear channel. Installing Smarty via the PEAR installer is incredibly simple -- and points towards a great method of distribution of PHP code.

Greg is absolutely right in his post -- the best thing about PEAR is the installer. However, there's some wonderful code in the repository as well. I couldn't do my job without the likes of Log, DB, Cache_Lite, Pager, and others; they provide the little pieces that make a large job into a few lines of code.

However, I've also been observing the pear-dev list for over six months now, while trying to decide whether or not to propose some of my own code for inclusion. I feel that the code I have is definitely in the spirit of PEAR -- good, reusable, extensible, glue code that can be used for a variety of projects. However, it also falls under an umbrella that appears to be anathema to many PEAR developers: the framework. And that's how the whole thread exploded.

I still think Cgiapp would be a good fit for PEAR. However, I am not going to consider it at this time, for several reasons:

  • I don't have the time or energy to argue why I think Cgiapp would fit. If I thought it would be an easy argument, or that it would simply involve tweaking Cgiapp slightly, I'd do it in an instant. But from the comments I've read in response to my query, it sounds like some very core and vocal members of PEAR simply feel frameworks of any sort are not PEAR's territory, and I think they would lobby effectively against the proposal.
  • I truly feel that Cgiapp should stay as true as possible to its Perl predecessor. I want the APIs to be the same, and I want it to develop in the same direction. I suspect that if I were to go through the PEAR proposal process, I'd have to lose this integrity in order for it to pass muster.
  • With the advent of PEAR channels in the upcoming 1.4.0 release, there's no reason I couldn't set up a PEAR channel of my own on the sourceforge site -- or join pearified.net. I think Greg hit the nail on the head here: channels open up possibilities for PHP developers, and particularly for PHP developers who may not want to or have the time to go through the PEAR proposal process -- or who are offering packages that fall outside PEAR's scope. The PEAR installer, coupled with channels, creates an incredible distribution channel.

I have the utmost respect for PEAR, and I've seen it advance tremendously in the past year; as mentioned above, I couldn't do my job nearly as well or effectively without the tools PEAR provides. However, I simply don't see how Cgiapp could possibly thrive in PEAR at this time. I think Greg's admonishment to his fellow PEAR devs should definitely be heeded. PEAR needs to look beyond itself if it wishes to attract new and talented PHP developers.

Posted by Matthew Weier O'Phinney in PHP at 21:32 | Comments (0) | Trackbacks (0)

Trackbacks
Trackback specific URI for this entry

No Trackbacks

Comments
Display comments as (Linear | Threaded)

No comments

Add Comment

Standard emoticons like :-) and ;-) are converted to images.
E-Mail addresses will not be displayed and will only be used for E-Mail notifications

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA

 
 
  • Home
  • Resume
  • Blog
  • Phly PEAR Channel
  • Contact Me
  • About this site

ZCE

Zend Education Advisory Board Member

Add to Technorati Favorites

Calendar

Back January '09 Forward
Mon Tue Wed Thu Fri Sat Sun
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31  

Quicksearch

Links

  • PHLY - PHp LibrarY
  • Paul M. Jones
  • Mike Naberezny
  • Shahar Evron
  • Planet PHP
  • Zend Where I now work
  • Garden.org Where I once worked

Archives

January 2009
December 2008
November 2008
Recent...
Older...

Categories

XML Linux
XML Personal
XML Aikido
XML Family
XML Programming
XML Dojo
XML Perl
XML PHP

All categories

Syndicate This Blog

XML RSS 0.91 feed
XML RSS 1.0 feed
XML RSS 2.0 feed
ATOM/XML ATOM 0.3 feed
ATOM/XML ATOM 1.0 feed
XML RSS 2.0 Comments

Show tagged entries

xml best practices
xml books
xml conferences
xml dojo
xml dpc08
xml file_fortune
xml linux
xml mvc
xml oop
xml pear
xml perl
xml personal
xml php
xml phpworks08
xml programming
xml ubuntu
xml vim
xml webinar
xml zendcon
xml zendcon08
xml zend framework
© 2004 - present, Matthew Weier O'Phinney
matthew-web <at> weierophinney.net