News Feed
Sections




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

Simon Jones' Blog:
Admin sub-modules in Zend Framework
June 15, 2010 @ 13:47:07

Simon Jones has pot together a new post for the Zend Framework users out there wanting to add sub-modules to their application.

I quite frequently find myself wanting some form of sub-modules, usually in admin systems where one "admin" module just doesn't cut it for larger sites. Without modules we're stuck with an AdminController.php which obviously gets very messy, very quickly. With modules, we can have an "admin" module with as many controllers as we wish. This is fine, until a site needs to manage lots of discrete elements.

His solution was a bit of a "hijack" of the boostrap resource for the "admin" requests that would allow him to dynamically add modules thanks to some simple mapping. You can download his example here.

0 comments voice your opinion now!
admin submodule zendframework tutorial


blog comments powered by Disqus

Similar Posts

NetTuts.com: Refactoring Legacy Code: Part 6 - Attacking Complex Methods

WeberDev.com: PHP 101 (part 11) - Sinfully Simple (SimpleXML)

Alexander Netkachev's Blog: Practical PHP events: The Java way

Rob Allen's Blog: Zend Framework Tutorial for ZF v0.8

DevShed: Accessing Attributes and Cloning Nodes with the DOM XML Extension in PHP 5


Community Events





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


podcast language wordpress opinion code threedevsandamaybe release interview developer unittest community install framework series refactor laravel introduction list testing api

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