Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Christian Schaefer's Blog:
Using Zend Framework components in a Symfony2 project
Feb 28, 2011 @ 17:50:30

On his Test.ical.ly blog Christian Schaefer has a new post looking at how you can use Zend Framework components in a Symfony2 application.

Recently I wanted to use a part of the Zend Framework (v1) in my Symfony2 project. After struggeling with the autoloading for a while and a little help from fellow developers on Twitter I found it actually to be quite easy.

He illustrates, showing a method for pulling down the source from github, registering a prefix with Symfony2 for the Zend Framework components and how to remove a lot of the issues with notices and warnings (and fatal errors) by removing the require_onces that aren't needed.

tagged: zendframework symfony2 component project tutorial

Link:


Trending Topics: