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
You can leave a response, or trackback from your own site.

One Response 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.

Leave a Reply

Click here to cancel reply.

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

code: use [code=php][/code].

Comment Preview

    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 (17)
    • Open Source (14)
    • PHP (98)
    • Software Design (29)
    • Usability (14)
    • Web Design (20)
  • Recent Comments

    • flickr case study  3
      bookmarking demon software, php-trivandrum.org, Harry Fuecks
    • rsync to remote server via ssh  7
      Burton Haynes, James, Mike [...]
    • Yahoo YUI wins JavaScript Library Wars  10
      Lera Bride, Scott, Jeff [...]
    • OOP is Mature, not Dead  15
      Avery Depew, Fernando, deltawing [...]
    • Ruby versus PHP or There and Back Again  10
      Solar Pumps, Amsterdam, Hari K T [...]
    • Looking Towards the Cloud  22
      Driver License, Jamel Sawyer, enculez. [...]
    • ZendCon: Writing Maintainable PHP Code  8
      IT Ninja, nicopico, Arif [...]
    • Jason Sweat's Blog  1
      Stop Sweating
    • PDO versus MDB2  13
      Gavin, stot, Dapra [...]
    • Why PHP is easier to learn than Java  14
      Ian, , [...]
  • Recent Posts

    • 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
    • Working with PHP 5 in Mac OS X 10.5 (Leopard)
  • Site

    • Archives
    • Log in
  • Search