Professional PHP

PHP Programming, Web Development, PHP Advocacy and PHP Best Practices.
« PHP Framework Consolidation?
Zend Framework Webcast »

The rumors of PEAR’s demise are greatly exaggerated

December 1st, 2005

Tobias Schlitt has a lengthy comparison of the new ezComponents and PEAR. He goes to great lengths to show that ezComponents and PEAR do not compete.

I’ve also seen some ill informed speculation that Zend PHP Framework will kill off PEAR. Um, not gonna happen. PEAR is a library, not a framework. Well, PEAR is a repository of libraries, not a framework. Well, I don’t know what PEAR is, but its not a framework.

What is a framework? I wrote a little bit about this in The value of MVC, but according the the GOF:

A Framework is a set of cooporating classes that make up a reusable design for a specific class of software. …

The framework dictates the architecture of your application. It will define the overall structure, its partitioning into classes and objects, the key responsibilities thereof, how the classes and objects collaborate, and the thread of control. A framework predefines these design parameters so that you, the application designer/implementor, can concentrate on the specifics of your application. The framework captures the design decisions that are common to its application domain. Frameworks thus emphasize design reuse over code reuse, though a framework will usually include concrete subclasses you can put to work immediately.

A reusable design for a specific class of software? That doesn’t sound like PEAR. It does sound a bit like ezPublish. Is ezComponents a framework by this definition? I don’t know.

Sebastian Bergmann doesn’t see competition between ezComponents and ZPF, suggesting that you can swap and combine. Scanning the list of ZPF components and the ezComponents shows overlap. Can you swap out ZTemplate for ezComponents Template or ZInputFilter for ezComponents UserInput?

I applaud ezComponent’s use of the PEAR installer. I hope that Zend PHP Framework embraces the PEAR installer as well.

Filed Under

  • PHP

Related Posts

  • Zend Framework Webcast
  • un-PEAR-ing
  • Crazy Zend PHP Framework Rumors
  • PEAR Templates
Both comments and pings are currently closed.

3 Responses to “The rumors of PEAR’s demise are greatly exaggerated”

  1. Sebs says:
    12/2/2005 at 2:09 am

    An if its competition just for the case *if*: competition is good ;) .
    It will make both better.

    S.

  2. Cindy Manes says:
    9/17/2010 at 9:03 am

    Can I make a suggestion? I consider youve got one thing good right here. But what if you added a couple links to a page that backs up what youre declaring? Or possibly you could give us some thing to appear at, something that would connect what youre declaring to one thing tangible? Just a suggestion.

  3. hotele spa says:
    3/15/2012 at 11:02 am

    Oh yea

    Subscribe Feed
    Share Subscribe to this blog…
    Share Bookmark or share this page…
  • About

    My name is Jeff Moore. I'm a PHP programmer living in San Francico and working for a startup.

    More about me…

  • Categories (Home)

    • Agile Methods (14)
    • Mac (14)
    • Misc (18)
    • Open Source (14)
    • PHP (99)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • rsync to remote server via ssh  37
      Petr Halounek, Penni Tomasino, Rodney Kohnen [...]
    • WordPress BBCode Plugin  30
      wepniveth, Pamella Philipps, evakuat [...]
    • PEAR Templates  18
      Sang Bellotti, Kandice Sansing, car insurance estimates for teenagers [...]
    • Extreme Simplicity  15
      Gilbert Moatz, Roni Beauregard, Barb Geyer [...]
    • Manual Memory Management is Dead  6
      Grass Fed Filet Mignon, Kellie Carello, PAPANDOR [...]
    • Friendster wrapup: does MySQL scale  38
      Ollie Joya, nfl jersey on sale, selling scrap gold [...]
    • The Coding Apprentice  51
      fkawau, Annamae Mccane, Boca Raton Personal Injury [...]
    • The Legality of Republishing RSS Feeds  30
      dasfdsfsd, reebok authentic nfl jersey, Tory Rennemeyer [...]
    • Exceptional PHP  7
      Sports, The Click, Laraine Waterhouse [...]
    • PDO versus MDB2  42
      selling silver coins, Oliver Luongo, ddkoaorpa [...]
  • Recent Posts

    • Richard Thomas
    • ZendCon: Writing Maintainable PHP Code
    • Looking Towards the Cloud
    • Holiday Tech Support
    • Closures are coming to PHP
    • php | tek Wrapup
    • php | tek 2008
    • Sarah Snow Stever
    • Benchmarking PHP’s Magic Methods
    • The Endpoints of the Scale of Stupidity on Video
  • Site

    • Archives
    • Log in
  • Search