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:
Implementing a ZF2 development mode
January 02, 2014 @ 09:18:07

Rob Allen has shared a method he's found for implementing a Zend Framework v2 in development mode, more specifically for an Apigility installation.

One feature that piqued my interested in the Apigility skeleton application was development mode. [...] Behind the scenes, this [call to public/index.php] runs an action in DevelopmentModeController which copies config/development.config.php.dist to config/development.config.php. Then there is some code in public/index.php that ensures that this file is loaded.

You can then have a ModuleManager instance specifically for the development version and configuration. This allows for a greater amount of customization and removes some requirements you might have had in production. He's also created a module that handles some of this for you automatically you can drop into your installation.

0 comments voice your opinion now!
zendframework2 apigility development mode tutorial

Link: http://akrabat.com/computing/implementing-a-zf2-development-mode/

blog comments powered by Disqus

Similar Posts

Web Development Blog: PHP Mail Scripts using SMTP transport, a guide for beginners

CorePHP Blog: A Guide to running Apache 2, PHP 4 & PHP 5 on Windows XP

Blitz Agency Blog: REST Service Routing with PHP and Apache

Sameer Borate's Blog: Templating with Haml

Gennady Feldman's Blog: Installing Oracle Instant Client 11g and PECL OCI8 (Part 2)


Community Events

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


php7 introduction library framework voicesoftheelephpant example opinion video podcast release community laravel extension interview language security laravel5 series api version

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