This post originated from an RSS feed registered with PHP Buzz
by Sebastian Bergmann.
Original Post: Enterprise PHP {Components|Framework}
Feed Title: Sebastian Bergmann
Feed URL: http://sebastian-bergmann.de/
Feed Description: Geek by nature, PHP by choice.
Let us take a look at what both technologies actually are:
The eZ publish Enterprise Components are extracted from the current eZ publish code and will form the basis of the upcoming eZ publish CMS version 4.0. They are a library of high quality PHP classes for the creation of dynamic websites and contentmanagement applications.
Like its name suggests, the Zend Framework is a framework for the PHP-based development of web applications. It uses the Model-View-Controller pattern for controlling application flow and separation of business logic from presentation logic and provides the necessary components (ZActiveRecord (Model), ZTemplate (View), ZPageController / ZFrontController (Controller)). In addition, the Zend Framework offers components like ZInputFilter, ZLog, or ZSearch that can be easily plugged into the web application for input filtering, logging, or search capabilities, respectively.
I do not see a real competition between the two as one can use components from both and combine them and use them together.
Both projects use PHPUnit for their Unit Testing, by the way, and have provided me with invaluable feedback already. Jan Borsodi is currently working at eZ systems on the support for Mock Objects (based on jMock) for PHPUnit 2.4. At the moment I am merging his rewrite of PHPUnit2_Framework_ComparisonFailure into PHPUnit's CVS. These changes will make the visualization of failed comparisons much clearer.