<?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>Fri, 24 May 2013 01:11:54 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Sub Classing Exceptions in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/11218</guid>
      <link>http://www.phpdeveloper.org/news/11218</link>
      <description><![CDATA[<p>
DevShed has start up a new series today with <a href="http://www.devshed.com/c/a/PHP/Sub-Classing-Exceptions-in-PHP-5/">the first part</a> in a four-part series looking at exception handling in PHP5.
</p>
<blockquote>
If you do any serious programming, whether it's in PHP 5 or some other language, you've needed to know how to handle run time errors and other "exceptional" conditions. You can do this by making your program throw generic exceptions. Or you can unlock the potential of PHP 5 and learn how to create custom exceptions, which is the subject of this four-part series.
</blockquote>
<p>
In this first part they <a href="http://www.devshed.com/c/a/PHP/Sub-Classing-Exceptions-in-PHP-5/1/">get you started</a> with exceptions, showing how to throw them and catch them correctly (try/catch). They put it to good use in an example catching exceptions thrown from a MySQL connection and select.
</p>]]></description>
      <pubDate>Wed, 15 Oct 2008 12:06:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Introducing the Chain of Responsibility Between PHP Objects]]></title>
      <guid>http://www.phpdeveloper.org/news/6597</guid>
      <link>http://www.phpdeveloper.org/news/6597</link>
      <description><![CDATA[<p>
DevShed is starting off a new series today with <a href="http://www.devshed.com/c/a/PHP/Introducing-the-Chain-of-Responsibility-Between-PHP-Objects/">this first article</a> talking about how to introduce the "chain of responsibility" method in how you use your objects.
</p>
<blockquote>
In this three-part series, I'll show you how to create a chain of responsibility across different classes, which hopefully will give you a better understanding of how this schema can be implemented with PHP. 
</blockquote>
<p>
Since it's just the first part in the esries, they <a href="http://www.devshed.com/c/a/PHP/Introducing-the-Chain-of-Responsibility-Between-PHP-Objects/">start with</a> the whys and hows of the chain of command process before getting on with the actual code. For the foundation, they create some subclasses that will make the parts of the chain. Next up is combining them and, finally, making the "master class" to combine the links of the chain together. They use a "DataServer" example to work with local files.
</p>]]></description>
      <pubDate>Mon, 30 Oct 2006 12:18:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Abstract Classes in PHP - Setting Up a Concrete Example]]></title>
      <guid>http://www.phpdeveloper.org/news/4779</guid>
      <link>http://www.phpdeveloper.org/news/4779</link>
      <description><![CDATA[DevShed has posted <a href="http://www.devshed.com/c/a/PHP/Abstract-Classes-in-PHP-Setting-Up-a-Concrete-Example/">part two</a> of their "Abstract Classes in PHP" series today, this time focusing on the creation of an example class structure.
<p>
<quote>
<i>
Welcome to part two of the series "Abstract classes in PHP." In three tutorials, this series introduces the key concepts of abstract classes in PHP 4-PHP 5, and explores their application and use in different object-oriented development environments. Whether you're an experienced PHP developer wanting to fill in some gaps related to abstract classes, or only a beginner starting to taste the power of object-based programming in PHP, hopefully you'll find this series enjoyable and instructive.
</i>
</quote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Abstract-Classes-in-PHP-Setting-Up-a-Concrete-Example/">take a moment</a> and look at how their example will be structured before jumping into the code. After that, they creat subclasses of the parent, defining the resultProcessor and fileProcessor classes. At the end, they combine them, creating a class that can parse data pushed into it (such as parsing out an XML file).]]></description>
      <pubDate>Wed, 01 Feb 2006 07:54:08 -0600</pubDate>
    </item>
  </channel>
</rss>
