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

Brian Smithwick's Blog: Software development and the locked box

Ibuildings blog: Wow, this is so cool! (Guide to Enterprise PHP Development)

Freek Lijten's Blog: SOLID - The S is for Single responsibility

Ben Ramsey: Contributing to PHP Core

Devis Lucato's Blog: PHP BDD with Cucumber/Cuke4Php


Community Events





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


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

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