<?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, 08 Jan 2009 05:37:09 -0600</pubDate>
    <ttl>30</ttl>
    <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[Terry Chay's Blog: serialization without pity]]></title>
      <guid>http://www.phpdeveloper.org/news/7473</guid>
      <link>http://www.phpdeveloper.org/news/7473</link>
      <description><![CDATA[<p>
In response to <a href="http://www.phpdeveloper.org/news/7453">a post from the Stubbles blog</a>, <i>Terry Chay</i> has <a href="http://terrychay.com/blog/article/object-serialization-without-pity.shtml">posted some of his thoughts</a> about the serialization solution presented in the other post.
</p>
<blockquote>
Frank Kleine writes a PHP 5 framework called <a href="http://stubbles.net/">Stubbles</a>. I have <a href="http://terrychay.com/blog/article/why-frameworks-fail.shtml">a long-standing view about frameworks</a> that hasn't changed one bit. But instead of arguing about the Sysaphean task Frank is engaging in, I'll show what my approach is to one small component (while being a bit jealous that he can actually develop in PHP 5).
</blockquote>
<p>
<i>Frank</i>'s solution involves storing the objects in the session, serializing them first. The issue comes up when the class(es) the object needs aren't included into the page. <i>Terry</i> offers a different sort of solution - one also using __autoload, but using it combined with unserialize_callback_func.
</p>
<p>
<i>Terry</i> compares this with <i>Frank</i>'s approach and notes that his method "closes off" the system from the very PHP functions that could make his life simpler (making a separate handling system). He also <a href="http://terrychay.com/blog/article/object-serialization-without-pity.shtml">includes</a> a method for doing the same when all you know is the class file's name (non-PEAR format). 
</p>]]></description>
      <pubDate>Wed, 21 Mar 2007 12:02:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Using Inheritance, Polymorphism and Serialization with PHP Classes]]></title>
      <guid>http://www.phpdeveloper.org/news/6043</guid>
      <link>http://www.phpdeveloper.org/news/6043</link>
      <description><![CDATA[<p>
Some concepts of object-oriented design are harder to figure out that others for a budding programmer. Thankfully, there's articles <a href="http://www.devshed.com/c/a/PHP/Using-Inheritance-Polymorphism-and-Serialization-with-PHP-Classes/">like this one</a> from DevShed to help fill in some of the gaps. Specifically, they focus on inheritance, polymorphism, and serialization in your PHP classes.
</p>
<blockquote>
If you are working with classes in PHP, you will sooner or later encounter inheritance, polymorphism, and serialization. The ability to use these three will help speed up your code writing. This article covers how to use them, and more.
</blockquote>
<p>
First off, <a href="http://www.devshed.com/c/a/PHP/Using-Inheritance-Polymorphism-and-Serialization-with-PHP-Classes/">they look at</a> inheritance and working with child classes before moving on to polymorphism (similar functionality, different objects), calling functions statically, and serializing objects to make passing them around much easier.
</p>]]></description>
      <pubDate>Tue, 15 Aug 2006 09:02:43 -0500</pubDate>
    </item>
  </channel>
</rss>
