News Feed
Sections




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

Rob Allen's Blog:
Modules (Zend Framework)
February 05, 2007 @ 10:33:00

In a new post to his blog, Rob Allen takes a look a a package inside of the Zend Framework - one that allows for much more flexibility with the way your site flows.

One of the new features to hit the Zend Framework since 0.7 is Zend_Controller_ModuleRouter and its sibling Zend_Controller_ModuleRewriteRouter. This allows for separating out sets of controlers, models and views into their own modules.

He gives both a directory structure and PHP code example of it in action, both in how it normally functions (looks for a controller with the same name as the request) and an example of how he thinks it should work - complete with code and a directory structure to compare to the previous example.

0 comments voice your opinion now!
zendframework controller router example directory zendframework controller router example directory


blog comments powered by Disqus

Similar Posts

Ian Selby's Blog: Put Your PHP App on Steroids - Optimizing with APC Cache

Alexander Netkachev's Blog: Zend_Controller classes

Kristina Chodorow's Blog: Writing a PHP Extension (Four Part Series)

Rob Allen's Blog: Using your own View object with Zend_Application

Maarten Balliauw's Blog: Indexing Word 2007 (docx) files with Zend_Search_Lucene


Community Events





Don't see your event here?
Let us know!


threedevsandamaybe voicesoftheelephpant laravel framework unittest series opinion api introduction list language version conference configure composer podcast symfony community release interview

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework