<?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>Mon, 08 Sep 2008 03:38:47 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Symfony Blog: YAML in symfony 1.1]]></title>
      <guid>http://www.phpdeveloper.org/news/10442</guid>
      <link>http://www.phpdeveloper.org/news/10442</link>
      <description><![CDATA[<p>
<a href="http://www.symfony-project.org/blog/2008/06/19/yaml-in-symfony-1-1">This new post</a> on the Symfony blog today looks at using the framework's built-in support for the YAML format. They include a few examples of the code to make the files and how to use them.
</p>
<blockquote>
Here is a short tutorial about my discovery of the new YAML parsing library that comes with symfony 1.1. As you may know, YAML files are a place symfony developers spend time writing configuration, it is very important they have a good tool to manipulate data and debug files.
</blockquote>
<p>
They include code showing how to pull in a sample file, access the properties inside of it and how to take a multi-dimensional PHP array and push it back out (automagically) into a new YAML formatted file.
</p>]]></description>
      <pubDate>Thu, 19 Jun 2008 11:18:38 -0500</pubDate>
    </item>
    <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[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[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[Zend Developer Zone: YAMMY!: DB to YAML conversion shell for CakePHP migrations]]></title>
      <guid>http://www.phpdeveloper.org/news/9130</guid>
      <link>http://www.phpdeveloper.org/news/9130</link>
      <description><![CDATA[<p>
There's a <a href="http://devzone.zend.com/article/2675-YAMMY-DB-to-YAML-conversion-shell-for-CakePHP-migrations">new article</a> on the Zend Developer Zone today about the conversion of CakePHP information (via migrations) from a database over to a WAML format.
</p>
<blockquote>
Today we will talk about migrations, yaml files and CakePHP and in particular I'll introduce you to the latest shell I've written for CakePHP: <a href="http://www.4webby.com/blog/posts/view/3/yammy_db_to_yaml_shell_migrations_made_easy_in_cakephp">YAMMY!</a> I've written YAMMY! a couple of weeks ago, but I just found the time to release it today. Anyway lets get into more details!
</blockquote>
<p>
The author, <i>Daniel Vecchiato</i>, first explains what migrations are and how they relate to database tables (like revision control - sort of). A previous project made it possible to do migrations in CakePHP, but it lacked what he calls the "right food" to get it working as well as it could. That's where YAMMY! comes in - by answering a few simple questions, you can set up a YAML record of your database tables and make it simple to integrate into your application's development process.
</p>]]></description>
      <pubDate>Wed, 28 Nov 2007 07:57: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>
  </channel>
</rss>
