News Feed
Sections




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

Scott Mattocks:
C is for Configurable
November 30, 2012 @ 09:12:21

Scott Mattocks has posted the next in his "LUCID development" series of posts with the next letter in the acronym, "C" for Configurable:

As code moves through the software development process, it moves through different environments. In many cases, the full details of then environment may not even be known at the time development starts. Getting your code to change its behavior on the fly is only possible if you have carefully and thoughtfully interleaved configuration parameters into your code.

He talks about handling configuration for external systems and the responsibility that comes with access to the connection information for resources. He makes some recommendations as to where to start if you're looking for places in your code to change how configuration options are used - low hanging fruit like code that accesses external systems.

Other parts of this LUCID series so far are: L (Logging) and U (Unit tests).

0 comments voice your opinion now!
lucid development principles configurable


blog comments powered by Disqus

Similar Posts

PHPMaster.com: 10 Tips for Better Coding

Stefan Mischook's Blog: The 'Good Enough' Principle and PHP

Lenart.org.pl: storm is comming

Community News: Eclipse Group Webinar - PHP Development Tools (PDT) 1.0 Overview

Christoph Dorn's Blog: Integrating FirePHP for Ajax Development


Community Events





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


series framework version tool laravel language symfony interview podcast library application update composer voicesoftheelephpant security introduction community release opinion package

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