News Feed
Sections




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

phpaddiction:
PHP Application Configuration with YAML
November 22, 2007 @ 17:56:00

On the phpaddiction website, there's a quick new tutorial showing how to use the YAML technology to make a configuration for your application.

I have always disliked creating configuration data by reading from various formats into global arrays, so I needed to build or borrow a configuration class for my own projects that I could standardize on.

He discusses the base he worked from - a class based on the Zend_Config package in the Zend Framework, using his own sort of caching scheme. He's also included the code to see it in action (including the code download).

1 comment voice your opinion now!
application yaml configuration syck example application yaml configuration syck example


blog comments powered by Disqus

Similar Posts

Reddit.com: Any ideas on what "MVC agnostic" PHP code is?

David Goodwin's Blog: Release - Pale Purple's Trac Project Planning Board

Matthew Weier O'Phinney's Blog: View Layers, Database Abstraction, Configuration, Oh, My!

Zend Developer Zone: Accessing DB2 Data Inside of i5/OS

IBM developerWorks: Use Ajax with PHP and DB2 9 - Xajax


Community Events

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


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

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