<?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, 20 Nov 2008 03:19:02 -0600</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Mind Tree Blog: Friendly URLs in PHP: why do you care?]]></title>
      <guid>http://www.phpdeveloper.org/news/10492</guid>
      <link>http://www.phpdeveloper.org/news/10492</link>
      <description><![CDATA[<p>
<a href="http://www.hurricanesoftwares.com/2008/06/24/friendly-urls-in-php-why-do-you-care/">This new post</a> from the Mind Tree blog (at hurricanesoftware.com) asks the question "why do you care about friendly URLs in PHP applications?"
</p>
<blockquote>
Nice URLs, readable URLs, search-engine-friendly URLs. Different names same deal. [...] Turns out this isn't all that hard with PHP - in fact it can turn into something that's very useful from more than just a readability viewpoint.
</blockquote>
<p>
He shows how to <a href="http://www.hurricanesoftwares.com/2008/06/24/friendly-urls-in-php-why-do-you-care/">use mod_rewrite</a> and an .htaccess file to automatically grab the request and map it to the right place. Then, the PHP script looks at the incoming data and pushes the correct page back out to the browser. He's also included some modifications to the original idea that allow for numeric grouping and named groups for rewriting content.
</p>]]></description>
      <pubDate>Thu, 26 Jun 2008 10:26:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: The Switch Statement and Arrays]]></title>
      <guid>http://www.phpdeveloper.org/news/9368</guid>
      <link>http://www.phpdeveloper.org/news/9368</link>
      <description><![CDATA[<p>
DevShed continues their series looking at some of the fundamentals of working with PHP in <a href="http://www.devshed.com/c/a/PHP/PHP-The-Switch-Statement-and-Arrays/">this new tutorial</a> posted today. It looks at one of the flow control statements the language has to offer and a very useful data structure - the switch statement and arrays.
</p>
<blockquote>
In our last exciting adventure (back in early November), we braved crocodiles, ravenous editors, most of the PHP statements, and beginning loops. In this edition we'll cover the final statement, the Switch, and discuss arrays. So sit back, order your R2D2 robot to bring you a cold, frosty Jolt Cola, and let's get cracking.
</blockquote>
<p>
They start with a simple example of a switch statement (to echo out strings) and follow it with a detailed description of the different sorts of arrays - numeric indexed, associative and multidimensional versions. 
</p>]]></description>
      <pubDate>Mon, 07 Jan 2008 12:50:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: The Basics of Using the Factory Pattern in PHP 5]]></title>
      <guid>http://www.phpdeveloper.org/news/8126</guid>
      <link>http://www.phpdeveloper.org/news/8126</link>
      <description><![CDATA[<p>
DevShed revisits its series on using design patterns in PHP applications with <a href="http://www.devshed.com/c/a/PHP/The-Basics-of-Using-the-Factory-Pattern-in-PHP-5/">this new tutorial</a>, a look at implementing the Factory pattern in PHP 5.
</p>
<blockquote>
Summarizing, the factory pattern can be really useful when it comes to creating multiple objects that belong to the same family. In this three-part series I'm going to take a close look at it, and also demonstrate its remarkable functionality by showing you a decent variety of code samples, so you can start quickly including this pattern into your own PHP applications.
</blockquote>
<p>
They <a href="http://www.devshed.com/c/a/PHP/The-Basics-of-Using-the-Factory-Pattern-in-PHP-5/">lay the foundation</a> by creating some basic factory classes for working with numeric and associative arrays. On top of this, they create the processing classes to create things like uppercase numeric arrays and lowercase associative arrays. Finally, they give examples of how to put it to use making several different sorts of arrays, including their output.
</p>]]></description>
      <pubDate>Tue, 26 Jun 2007 11:07:00 -0500</pubDate>
    </item>
  </channel>
</rss>
