News Feed
Sections




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

Rails for PHP Blog:
PHP, Meet YAML
January 10, 2008 @ 11:18:00

On the Rails for PHP blog today, there's a new article talking about a method that is normally used to handle configuration files and the like - YAML:

Besides PHP itself, the most popular config file formats for PHP applications are INI and XML files. [...] YAML is a relatively new format that has been pioneered by the Ruby and Rails communities. It blends the best aspects of XML and INI, giving us a format with the flexibility of XML and the ease-of-use of INI.

He compares the YAML support - Ruby's built-in support and PHP's functionality via either the Spyc library/Syck extension or through a PEAR package from the Horde functionality. Quick code snippets are provided for each.

0 comments voice your opinion now!
yaml ruby compare language support syck yaml ruby compare language support syck


blog comments powered by Disqus

Similar Posts

Phil Sturgeon: Heroku and PHP Sitting in a Tree. K.I.S.S.I.N.G

Marco Tabini's Blog: PHP 5.2 support ends just as its adoption begins

Chris Shiflett\'s Blog: Ruby on Rails Fans

WePay Blog: Rasmus Lerdorf Talks PHP 5.6, 6.0 and Beyond

PHP Tip-a-Day: PHP Tutorial: Convoluted Code - Combining Ternary Operators and Anonymous Functions


Community Events





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


framework developer wordpress introduction series community laravel code list testing opinion unittest configure podcast refactor threedevsandamaybe language install interview release

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