News Feed
Sections




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

ServerGrove Blog:
Symfony2 components overview Config
February 21, 2014 @ 12:13:57

The ServerGrove blog has a new post today in their Symfony2 component spotlight series, this time focusing on the Config component.

After a few weeks, we continue with the Symfony2 components series. This time we are going to be talking about the Config component, which helps you to load and validate configuration values, regardless of their source.

They show how it can be used to parse YAML files and give a basic overview of its architecture. Sample code is included for a "blog generator" example that parses the given YAML structure and a loader to pull in the file. The component also includes caching functionality for larger configurations and allows you to define multiple loaders for different sources.

0 comments voice your opinion now!
symfony2 component overview config yaml tutorial

Link: http://blog.servergrove.com/2014/02/21/symfony2-components-overview-config

blog comments powered by Disqus

Similar Posts

Chris Ravensroft's Blog: How To Setup PHP5 with Tomcat 5

Test.ical.ly Blog: PHP 5.3 and the Symfony2 UniversalClassLoader - Where to load?

Nadeau Software: PHP tip: How to get a web page using CURL

RoofTopSolutions.nl: Caching in PHP using the filesystem, APC, and Memecached

PHPMaster.com: Generate Documentation with ApiGen


Community Events





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


podcast voicesoftheelephpant symfony list language release series deployment api framework laravel introduction opinion install interview library tips community bugfix package

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