<?xml version="1.0"?>
<rss version="2.0">
  <channel>
    <title>PHPDeveloper.org</title>
    <link>http://www.phpdeveloper.org</link>
    <description>Up-to-the Minute PHP News, views and community</description>
    <language>en-us</language>
    <pubDate>Thu, 24 May 2012 14:54:12 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Lukas Smith's Blog: YAML and PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10269</guid>
      <link>http://www.phpdeveloper.org/news/10269</link>
      <description><![CDATA[<p>
In <a href="http://pooteeweet.org/blog/0/1119">this new post</a> from <i>Lukas Smith</i> he talks about YAML, that handy data storage format and the two methods for its use in PHP (and why he's stuck with one of them).
</p>
<blockquote>
If you use YAML in PHP, then you had until recently the choice between the C based PECL extension <a href="http://pecl.php.net/package/syck">syck</a> or the horrible <a href="http://spyc.sourceforge.net/">spyc</a> PHP based implementation. With syck it has the issue that it only supports the core standard and not stuff like <a href="http://yaml.org/type/merge.html">merge-key</a>, which is a very very useful extension to the core YAML standard.
</blockquote>
<p>
He also <a href="http://pooteeweet.org/blog/0/1119">points out</a> another implementation that the Symfony framework has created - one built around regular expressions (slower, but a "more correct" version).
</p>]]></description>
      <pubDate>Mon, 26 May 2008 13:04:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Why you should be using YAML for config]]></title>
      <guid>http://www.phpdeveloper.org/news/9497</guid>
      <link>http://www.phpdeveloper.org/news/9497</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has a <a href="http://www.developertutorials.com/blog/server-side-scripting/php/why-you-should-be-using-yaml-for-config-8/">new post</a> mentioning the use of YAML structure for creating configuration files in your application.
</p>
<blockquote>
YAML, or YAML Ain't Markup Language, is a "human friendly data serialization standard". It's essentially a very basic format for storing data, and uses far less syntax than standard PHP. [...] It's almost like English; it's as basic as you want. Of course, that's not to say it doesn't support complex structures - this example demonstrates the power of the format.
</blockquote>
<p>
He also points out the <a href="http://spyc.sourceforge.net/">spyc extension</a> that makes working with the files in PHP a breeze.
</p>]]></description>
      <pubDate>Fri, 25 Jan 2008 11:22:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Inside Open Source: Programming with Configuration Files]]></title>
      <guid>http://www.phpdeveloper.org/news/8271</guid>
      <link>http://www.phpdeveloper.org/news/8271</link>
      <description><![CDATA[<p>
From the Inside Open Source APress blog, there's <a href="http://opensource.apress.com/article/274/programming-with-configuration-files">a new post</a> by <i>Michael Stahnke</i> documenting his search for a useful way to work with configuration files in a PHP application.
</p>
<blockquote>
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 <a href="http://en.wikipedia.org/wiki/YAML">YAML</a>, and thought I'd give that go.
</blockquote>
<p>
Searching around, he discovered the <a href="http://spyc.sourceforge.net/">spyc</a> library that aids in the YAML development and, as suggested by a commentor, the <a href="http://pecl.php.net/package/syck">standards-compliant extension syck</a>.
</p>]]></description>
      <pubDate>Wed, 18 Jul 2007 07:56:00 -0500</pubDate>
    </item>
  </channel>
</rss>

