<?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>Sun, 12 Feb 2012 16:04:31 -0600</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[Padraic Brady's Blog: Zend_Yaml; Gone the way of the Dodo...]]></title>
      <guid>http://www.phpdeveloper.org/news/9563</guid>
      <link>http://www.phpdeveloper.org/news/9563</link>
      <description><![CDATA[<p>
In filtering through the mass of projects that he's collected around him, <i>Padraic Brady</i> has decided to <a href="http://blog.astrumfutura.com/archives/339-Zend_Yaml;-Gone-the-way-of-the-Dodo....html">cut one loose</a> - the Zend Framework package he'd been developing to introduce YAML parsing and functionality to the framework.
</p>
<blockquote>
I've been going through all those open source projects and cutting the dead weight. [...] One of the victims of this review has been Zend_Yaml. Earlier this morning I found an odd comment on the Zend_Translate_Yaml proposal by Thomas Weidner that he was erasing his proposal on the basis that there had been no progress on Zend_Yaml.
</blockquote>
<p>
He's removed the proposal from the Zend Framework proposal pages after receiving an email noting that the package would not comply fully to the YAML 1.1 specification and couldn't be included. With the introduction of the Syck extension into PECL, it could support it but <i>Padraic</i> opted to just tell the ZF group about this functionality rather than working on the build himself.
</p>]]></description>
      <pubDate>Mon, 04 Feb 2008 13:43:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Naberezny's Blog:  Horde/Yaml 1.0 Released]]></title>
      <guid>http://www.phpdeveloper.org/news/9409</guid>
      <link>http://www.phpdeveloper.org/news/9409</link>
      <description><![CDATA[<p>
<i>Mike Naberezny</i> has <a href="http://mikenaberezny.com/2008/01/08/hordeyaml-10-released/">posted about</a> the latest release he's made - a 1.0 released too - of the <a href="http://pear.horde.org/index.php?package=yaml">Horde/Yaml library</a> for working with YAML files/information inside of PHP.
</p>
<blockquote>
This is the package's first stable release. <a href="http://chuck.hagenbu.ch/">Chuck Hagenbuch</a> started the library as an adaptation of <a href="http://spyc.sourceforge.net/">Spyc</a> around six months ago. Since then, he and I have been quietly using and improving it. Along the way, we fixed many issues, added support for <a href="http://pecl.php.net/package/syck">pecl/syck</a>, and wrote a test suite with PHPUnit.
</blockquote>
<p>
You can find the latest download of the package over on the <a href="http://pear.horde.org/index.php?package=yaml">Horde PEAR channel</a> and you can find out more about the YAML (YAML Ain't Markup Language) spec over on the <a href="http://yaml.org/">Yaml.org</a> website.
</p>]]></description>
      <pubDate>Fri, 11 Jan 2008 14:38:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Rails for PHP Blog: PHP, Meet YAML]]></title>
      <guid>http://www.phpdeveloper.org/news/9393</guid>
      <link>http://www.phpdeveloper.org/news/9393</link>
      <description><![CDATA[<p>
On the Rails for PHP blog today, there's <a href="http://railsforphp.com/2008/01/08/php-meet-yaml/">a new article</a> talking about a method that is normally used to handle configuration files and the like - YAML:
</p>
<blockquote>
Besides PHP itself, the most popular config file formats for PHP applications are INI and XML files. [...] <a href="http://yaml.org/">YAML</a> 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.
</blockquote>
<p>
He <a href="http://railsforphp.com/2008/01/08/php-meet-yaml/">compares the YAML support</a> - Ruby's built-in support and PHP's functionality via either the <a href="http://spyc.sourceforge.net/">Spyc</a> library/<a href="http://pecl.php.net/package/syck">Syck extension</a> or through a PEAR package from the Horde functionality. Quick code snippets are provided for each.
</p>]]></description>
      <pubDate>Thu, 10 Jan 2008 11:18:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexey Zakhlestin's Blog: Syck 0.9.2]]></title>
      <guid>http://www.phpdeveloper.org/news/9103</guid>
      <link>http://www.phpdeveloper.org/news/9103</link>
      <description><![CDATA[<p>
<i>Alexey Zakhlestin</i> has <a href="http://blog.milkfarmsoft.com/?p=78">released the latest version</a> of his <a href="http://pecl.php.net/package/syck">Syck</a> tool - a "parser and emitter" of YAML documents.
</p>
<blockquote>
I've just released <a href="http://pecl.php.net/package/syck">syck for php</a> 0.9.2 (a parser and emitter of <a href="http://www.yaml.org/">YAML</a> documents. If you don't know anything about YAML and why it is good: check my <a href="http://blog.milkfarmsoft.com/?cat=20">previous posts on the subject</a>). A lot of new and tasty features.
</blockquote>
<p>Updates he mentions include:</p>
<ul>
<li>stability and consistency fixes
<li>enhancements with object-serialization and unserialization
<li>loading of objects more class names
</ul>]]></description>
      <pubDate>Fri, 23 Nov 2007 09:14:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[phpaddiction: PHP Application Configuration with YAML]]></title>
      <guid>http://www.phpdeveloper.org/news/9097</guid>
      <link>http://www.phpdeveloper.org/news/9097</link>
      <description><![CDATA[<p>
On the phpaddiction website, there's a <a href="http://www.phpaddiction.com/tags/axial/php-application-configuration-with-yaml/">quick new tutorial</a> showing how to use the YAML technology to make a configuration for your application.
</p>
<blockquote>
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.
</blockquote>
<p>
He <a href="http://www.phpaddiction.com/tags/axial/php-application-configuration-with-yaml/">discusses</a> 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).
</p>]]></description>
      <pubDate>Thu, 22 Nov 2007 17:56:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Using YAML With PHP and PECL]]></title>
      <guid>http://www.phpdeveloper.org/news/8761</guid>
      <link>http://www.phpdeveloper.org/news/8761</link>
      <description><![CDATA[<p>
The Zend Developer Zone has a <a href="http://devzone.zend.com/article/2585-Using-YAML-With-PHP-and-PECL">new article today</a> by <i>Vikrim Vaswani</i> covering the use of YAML (Yet Another Markup Language) with PHP via the PECL packages that support it.
</p>
<blockquote>
If you've ever encountered the same need, or if you're just curious about the YAML format and how it can be used with PHP, then today is your lucky day. Over the next few pages, I'm going to give you a crash course in YAML and in PHP's ext/syck extension, showing you how it can be used to efficiently translate data structures from PHP to YAML, and vice-versa. Come on in, and let's get started!
</blockquote>
<p>
<a href="http://devzone.zend.com/article/2585-Using-YAML-With-PHP-and-PECL">The tutorial</a> starts with an example of a YAML file before getting into the application portion. He shows how to grab the Syck extension, install it, create a simple YAML file and create a configuration file (and parser) for a simple form application.
</p>]]></description>
      <pubDate>Tue, 02 Oct 2007 07:54:56 -0500</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>
    <item>
      <title><![CDATA[Alexey Zakhlestin's Blog: Syck for PHP goes Beta (in PECL)]]></title>
      <guid>http://www.phpdeveloper.org/news/8219</guid>
      <link>http://www.phpdeveloper.org/news/8219</link>
      <description><![CDATA[<p>
<i>Alexey Zakhlestin</i> <a href="http://blog.milkfarmsoft.com/?p=59">has announced</a> on his blog today the fact that his PECL package - Syck - has officially <a href="http://pecl.php.net/package/syck/">gone beta</a>.
</p>
<blockquote>
This is an extension for reading and writing YAML-files. <a href="http://www.yaml.org/">YAML</a> (rhymes with "camel") is a straightforward machine parsable data serialization format designed for human readability and interaction with scripting languages. YAML is optimized for data serialization, configuration settings, log files, Internet messaging and filtering.
</blockquote>
<p>
He's also <a href="http://blog.milkfarmsoft.com/?p=59">included updated versions</a> of the install instructions (a simple three-step process).
</p>]]></description>
      <pubDate>Wed, 11 Jul 2007 08:33:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexey Zakhlestin's Blog: YAML: Syck for PHP is not read-only anymore]]></title>
      <guid>http://www.phpdeveloper.org/news/8190</guid>
      <link>http://www.phpdeveloper.org/news/8190</link>
      <description><![CDATA[<p>
<i>Alexey Zakhlestin</i> mentions <a href="http://blog.milkfarmsoft.com/?p=57">some new YAML functionality</a> he's worked up - emitter functionality:
</p>
<blockquote>
One more good news for you, YAML-users. I've implemented emitter functionality in php-binding of syck library. It is quite straight-forward, no fancy stuff for now, but it should work.
</blockquote>
<p>
Supported datatypes include associative arrays, strings, integers, floats, booleans and nulls. He <a href="http://blog.milkfarmsoft.com/?p=57">includes an example</a> of the code in action (dumping out the information for an associative array). You can get this latest update <a href="http://code.whytheluckystiff.net/svn/syck/trunk/ext/php/">from the subversion source</a> on his site.
</p>]]></description>
      <pubDate>Fri, 06 Jul 2007 07:51:07 -0500</pubDate>
    </item>
  </channel>
</rss>

