<?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>Sun, 07 Sep 2008 03:36:36 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Ben Ramsey's Blog: How To Teach PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6497</guid>
      <link>http://www.phpdeveloper.org/news/6497</link>
      <description><![CDATA[<p>
Based on some perspectives he gained at this year's <a href="http://www.phpappalachia.org/">PHP Appalachia</a> event and at a <a href="http://www.tripug.org/">Triangle-PHP</a> meeting (talking with <a href="http://www.davidrasch.com/">David Rasch</a>, <i>Ben Ramsey</i> shares <a href="http://benramsey.com/archives/how-to-teach-php/">his thoughts</a> on how to teach PHP, more specifically to those with some programming background, but not necessarily a lot of experience.
</p>
<blockquote>
He (David) suggested that the format for teaching PHP needs to change and that these books need to start not by teaching PHP from the Web but by introducing newbies to PHP concepts by creating command-line applications. The idea being to introduce them early on to OOP and best practices, rather than trying to get them started fast with a simple "Hello, World" Web site.
</blockquote>
<p>
For <i>Ben</i>, the idea was agreeable, but he wasn't sure on whether or not such an approach would take off with the current book market. He does agree with <i>David</i>, though, that things need to change.
</p>
<p>
As far as <i>David</i>, his thoughts can be best summed up with <a href="http://www.davidrasch.com/2006/10/12/learning-sheltered-php-sans-bad-habits/">this post</a> on his blog, talking about a way to learn PHP without some of the drudge they pass along with the lessons in some of the "Learn PHP Now!" kinds of books. He even includes a table of contents for such a book.
</p>
<p>
So, which is the <a href="http://benramsey.com/archives/how-to-teach-php/">better of the two</a>? Well, book publishers still think the second (the give examples and teach practices too) is the proven formula for a good PHP book, but maybe a company out there could benefit from <i>Ben</i> and <i>David</i>'s suggestion of a no-nonsense, clean, easy book that fosters an approach supporting the basics, not someone's opinion of good code.
</p>]]></description>
      <pubDate>Fri, 13 Oct 2006 11:15:41 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Fundamentals of Recursion in PHP (Part 1)]]></title>
      <guid>http://www.phpdeveloper.org/news/5285</guid>
      <link>http://www.phpdeveloper.org/news/5285</link>
      <description><![CDATA[<p>
DevShed has posted their latest tutorial today, a look at some of the <a href="http://www.devshed.com/c/a/PHP/Fundamentals-of-Recursion-in-PHP/">basics of recursion</a> and working with it in PHP.
</p>
<quote>
<i>
<p>
Iteration is a straightforward concept. Recursion is a bit more complicated; it can be defined as a regular function that calls itself. PHP supports recursive functions. This article, the first of three parts, will explain recursive functions and help you see why they are useful.
</p>
<p>
Considering the important role that recursion plays in most programming languages, and specifically in PHP, over this series I'll be demonstrating how to define and use recursive functions with numerous code samples, thus you can learn quickly how to include them in your own PHP scripts.
</p>
</i>
</quote>
<p>
If you've never used recursion, you're in luck - they <a href="http://www.devshed.com/c/a/PHP/Fundamentals-of-Recursion-in-PHP/">start from the very beginning</a>, explaining it with a simple example of pushing the entire contents of an array (with subarrays) out to a file. They use this exmaple as a base to improve the function, adding the function to write the data out. They finish it off with two handy recursive functions for everyday use - one to escape the entire contents of an array and one that does the same, but checks to see if magic quotes is on.
</p>]]></description>
      <pubDate>Tue, 02 May 2006 07:31:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Scott Mattocks' Blog: Pro PHP-GTK Now Available]]></title>
      <guid>http://www.phpdeveloper.org/news/5231</guid>
      <link>http://www.phpdeveloper.org/news/5231</link>
      <description><![CDATA[<p>
PHP-GTK users can now rejoice (or even those that want to become PHP-GTK users)! According to <i>Scott Mattocks</i> (the author), the PHP-GTK book is <a href="http://crisscott.com/2006/04/24/pro-php-gtk-now-available/">now available</a>.
</p>
<quote>
<i>
<p>
<a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/1590596137&tag=crisscottcom-20&camp=1789&creative=9325">Pro PHP-GTK</a> is now available. <a href="http://www.amazon.com/exec/obidos/redirect?link_code=as2&path=ASIN/1590596137&tag=crisscottcom-20&camp=1789&creative=9325">Pro PHP-GTK</a> was written to provide the reader with an understanding of the fundamentals of <a href="http://gtk.php.net">PHP-GTK</a>. This approach empowers the user with the ability to create applications not by just copying and modifying the examples but by understanding what tools are available to solve a problem and how different pieces of the puzzle work together. 
</p>
<p>
The book goes into the details of parent and child relationships, signals and events, layout, displaying and collecting different types of data and customizing the look and feel of an application.
</i>
</quote>
<p>
<i>Scott</i> also includes links to a <a href="http://apress.com/book/supplementDownload.html?bID=10072&sID=3453">table of contents</a> [pdf] for the book and a <a href="http://apress.com/book/supplementDownload.html?bID=10072&sID=3454">sample chapter</a> for those wanting to try before you buy.
</p>]]></description>
      <pubDate>Mon, 24 Apr 2006 12:40:51 -0500</pubDate>
    </item>
  </channel>
</rss>
