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

Inside Open Source:
Programming with Configuration Files
Jul 18, 2007 @ 12:56:00

From the Inside Open Source APress blog, there's a new post by Michael Stahnke documenting his search for a useful way to work with configuration files in a PHP application.

Recently I was working on developing an application that required a configuration file to setup. [...] XML is too hard to read for management-types. Plain text wasn't all that easy to handle from a code perspective. Then I remembered that when I played with Ruby on Rails it used something called YAML, and thought I'd give that go.

Searching around, he discovered the spyc library that aids in the YAML development and, as suggested by a commentor, the standards-compliant extension syck.

tagged: yaml spyc syck extension library configuration file yaml spyc syck extension library configuration file

Link:


Trending Topics: