News Feed
Jobs Feed
Sections




News Archive
feed this:

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

Adam Jensen's Blog:
Distributing Zend Framework Modules
May 27, 2009 @ 15:37:26

Adam Jensen has written up a new blog post about using modules in the Zend Framework and how to use them from multiple places in your application without the issues surrounding massive cut and paste code.

The problem here is that the parent application (and the person installing it) has to know all sorts of nitty-gritty details about how the module does its business. [...] However, as I mentioned earlier, this situation has changed dramatically in Zend Framework 1.8, due to a wonderful little component called Zend_Application_Resource_Modules.

This new bit of functionality allows the modules to have their own boostrapping logic and autoloading of other modules. Thi smakes integrating someone else's module into your framework a much simpler (and easy to maintain) endeavor. One thing he notes that's missing, though, is any dependencies that the modules might have between each other.

0 comments voice your opinion now!
zendaplicationresourcemodules module zendframework



Community Events











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


introduction hack example facebook unittest code overview symfony2 component composer package hhvm release install podcast language security framework opinion application

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