<?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>Wed, 09 Jul 2008 07:12:48 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DevShed: Inserting Comments and Accessing Nodes with the DOM XML Extension in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/9779</guid>
      <link>http://www.phpdeveloper.org/news/9779</link>
      <description><![CDATA[<p>
DevShed continues their series looking at using the DOM extension in PHP5 to work with XML in your application. They've already looked at adding attributes and creating CDATA information in a new DOM document. <a href="http://www.devshed.com/c/a/PHP/Inserting-Comments-and-Accessing-Nodes-with-the-DOM-XML-Extension-in-PHP-5/">This time</a> they build on that and also include new methods - appending comment nodes and getting at XML nodes by their IDs.
</p>
<blockquote>
I'm talking about the DOM XML extension, which allows you to handle XML documents by using the DOM API. Thus, if you're interested in learning how to put this extension to work for you quickly, look no further, because you've come to the right place. [...] In this third installment of the series, I'll be teaching you specifically how to append comment nodes to a given XML string and how to extract certain elements via their IDs.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/Inserting-Comments-and-Accessing-Nodes-with-the-DOM-XML-Extension-in-PHP-5/1/">review</a> the method to add attributes and CDATA to an XML document first. Then they cover the other two new topics - <a href="http://www.devshed.com/c/a/PHP/Inserting-Comments-and-Accessing-Nodes-with-the-DOM-XML-Extension-in-PHP-5/2/">appending comment nodes</a> and grabbing nodes <a href="http://www.devshed.com/c/a/PHP/Inserting-Comments-and-Accessing-Nodes-with-the-DOM-XML-Extension-in-PHP-5/3/">by their ID attribute</a>.
</p>]]></description>
      <pubDate>Tue, 11 Mar 2008 15:40:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Developing a Discussion Forum in PHP with Recursion (Part 3)]]></title>
      <guid>http://www.phpdeveloper.org/news/5371</guid>
      <link>http://www.phpdeveloper.org/news/5371</link>
      <description><![CDATA[<p>
On DevShed today, they've posted <a href="http://www.devshed.com/c/a/PHP/Developing-a-Discussion-Forum-in-PHP-with-Recursion/">this new tutorial</a> continuing their "recursion in PHP" series - "Developing a Discussion Forum in PHP with Recursion".
</p>
<quote>
<i>
After covering in detail how to define recursive method and functions, the question is: what comes next? Luckily, there's vast terrain to explore with reference to using recursion in PHP. As I said in previous articles of this series, recursion can be used in cases where a specific tree structure or a linked list needs to be navigated, in order to display, add, delete or edit its values. It's exactly for that reason that this last article will be focused on building an extensible discussion forum, which precisely uses a tree structure (implemented on a single MySQL database table) for displaying forum messages and adding new posts.
</i>
</quote>
<p>
Using what they've taught in the first <a href="http://www.phpdeveloper.org/news/5285">two</a> <a href="http://www.phpdeveloper.org/news/5336">parts</a> of the series, they put it to good use, giving you a step-by-step guide to a simple recursive forum. They start with the database structure (always a good thing) and work out from there, creating the "ThreadProcessor" class and fetch functionality to grab the thread's contents. They also include a bit of functionality to create threads as well. It's not much more than that, so don't expect too much, but it is a great place to start.
</p>]]></description>
      <pubDate>Mon, 15 May 2006 11:44:01 -0500</pubDate>
    </item>
  </channel>
</rss>
