News Feed
Sections




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

Richard Thomas' Blog:
Solar Framework Shorts - Extending Solar Config to the DB
January 04, 2010 @ 08:04:48

In the latest article in his "Solar Shorts" series Richard Thomas looks at the Solar_Config component of the Solar framework and how callbacks can be used to extend its base functionality.

Solar_Config is a great configuration system but at times you find yourself wanting more, by itself Solar_Config has a few weaknesses. [...] You have a couple options, each have highs and lows related to how they work.

His example is of a custom callback (as defined in the main Solar_Config file for your site) that defines a "_postConfig" hook that lets you inject configuration information when the classes are loading instead of all up front.

0 comments voice your opinion now!
solar framework solarconfig postconfig


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: This Week in the Zend Framework, Issue #7

Jared White's Blog: Developer Preview 2 of Willowgarden has been released today

PHPMaster.com: Openbiz Cubi: A Robust PHP Application Framework, Part 2

Mike Lively's Blog: Introducing Phake Mocking Framework

PRADO Watch Blog: PRADO Watch: Interview With Timani Tunduwani - Why I Moved From CakePHP to PRADO


Community Events

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


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

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