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.
Inside Open Source: Programming with Configuration Files - Read More...