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 in ZF2
March 05, 2012 @ 12:08:39

In this new post to his blog Rob Allen introduces one of the key concepts in the upcoming version of the Zend Framework (v2) - modules.

A Zend Framework 2 application is made up of a number of modules which each contain the controllers, models, views and other support code required to implement a specific part of the application.

He covers a few different topics:

  • where modules can be located
  • the directory organization inside them
  • setting up a module of your own (a "bare bones" example)
  • how to use the init() method to set configure your module when it's loaded

A site has also been started (official) to share other user-created modules with the rest of the Zend Framework community - modules.zendframework.com.

0 comments voice your opinion now!
zendframework2 module introduction setup configure


blog comments powered by Disqus

Similar Posts

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

Fortrabbit.com: Integrating Codeship with Fortrabbit

MaltBlue.com: Easy Setter Injection in Zend Framework 2

Stefan Mischook's Blog: Object Oriented PHP Videos are now out!

Iwan Luijks: E-mailing with PHP on Windows using Apache James


Community Events





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


release community podcast api deployment symfony framework opinion introduction package series language interview zendserver update install laravel library unittest tips

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