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

Jeroen Keppens' Blog:
Create a modular application with Zend Framework
Jun 18, 2009 @ 12:58:10

In a recent post to his blog Jeroen Keppens looks at working with modules inside of a Zend Framework application (with the help of the Zend_Tool component).

I admit. I am a sucker for modules. I like my code nicely seperated in manageable blocks, that I can reuse whenever I want. Needless to say, I'm a big fan of the modules in Zend Framework. It isn't always very easy to set it up though. I had to look long and hard for answers on several questions and I noticed a lot of people had the same ones. So, I decided to make an article on creating a modular application in Zend Framework.

The rest of the post walks you through creating a simple Zend Framework project (amazium!) and adding in your own custom module. He makes an admin module for the sample app that gets its own controllers/models/views/etc. Thrown in some controller methods, layout, view helpers and a model and your module is complete!

tagged: zendtool tutorial zendframework module

Link:


Trending Topics: