News Feed
Jobs Feed
Sections




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

Charles Spraggs' Blog:
How does configuration work in ZF2?
June 18, 2012 @ 12:01:57

In this new post to his blog Charles Spraggs takes a look at the Zend Framework 2 and talks about how to handle the configuration of the application and of your modules.

As ZF2 increases the beta count and draws nearer to RC I've noticed more questions popping up in IRC regarding configuration. Questions like: "How do I setup XXX?", "Where do I add module options?" So, I decided to write up a quick blog explaining how configuration works in ZF2. By default, there are three types of configurations.

He points out each of the three places and mentions what goes in each (main config, module config and autoload config) and gives a high-level overview of the load order for the modules in your application - merging the configurations then using a "glob" to figure out the correct config settings to use.

0 comments voice your opinion now!
zendframework2 configuration tutorial module main autoload


blog comments powered by Disqus

Similar Posts

KillerPHP.com: Zend Framework Components Part 2: Zend_View

Richard Thomas: Solar Gets Firephp Support & a Base Controller Tip

Builder.com: Match users to their geo-location with PHP and PEAR Net:Geo

HowToForge.com: How To Set Up suPHP With PHP4 And PHP5

SitePoint PHP Blog: Integrating Polymer/Dart and Symfony Part 1


Community Events











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


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

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