<?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>Mon, 20 May 2013 14:23:07 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: PHP Arrays: Advanced Iteration and Manipulation]]></title>
      <guid>http://www.phpdeveloper.org/news/17238</guid>
      <link>http://www.phpdeveloper.org/news/17238</link>
      <description><![CDATA[<p>
In <a href="http://www.phpbuilder.com/columns/php_arrays/PHP_Arrays_12-8-2011.php3">this new tutorial</a> from PHPBuilder.com, <i>Jason Gilmore</i> shows you some of the more advanced things you can do with arrays in PHP (specifically in the areas of iterating through them and manipulating their contents).
</p>
<blockquote>
Sporting more than 70 native array-related functions, PHP's array manipulation capabilities have long been one of the language's most attractive features. [...] There are however many array-related tasks which ask a bit more of the developer than merely knowing what part of the manual one needs to consult. Many such tasks require a somewhat more in-depth understanding of the native features, or are possible only when a bit of imagination is applied to the problem.
</blockquote>
<p>
In his examples he shows how to do things like sorting a multi-dimensional array, iterating recursively (with the help of a <a href="http://www.php.net/manual/en/class.recursivearrayiterator.php">RecursiveArrayIterator</a>), converting an object to an array and doing "natural" sorting on an array's contents.
</p>]]></description>
      <pubDate>Fri, 09 Dec 2011 12:50:11 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Eric Reis' Blog: Why PHP won]]></title>
      <guid>http://www.phpdeveloper.org/news/11776</guid>
      <link>http://www.phpdeveloper.org/news/11776</link>
      <description><![CDATA[<p>
In <a href="http://startuplessonslearned.blogspot.com/2009/01/why-php-won.html">a recent post</a> to his blog <i>Eric Reis</i> talks about "why PHP won" in his web application development over other (web scripting) languages:
</p>
<blockquote>
Some of them are probably still cursing my name, because - let's face it - PHP can be pretty painful. As a language, it's inelegant. Its <A href="http://en.wikipedia.org/wiki/Object-oriented_programming">object-orientation</a> support is "much improved" - which is another way of saying it's been horrendous for a long time. Writing unit tests or mock objects in PHP is an exercise in constant frustration. And yet I keep returning to PHP as a development platform, as have most of my fellow <a href="http://startuplessonslearned.blogspot.com/2008/09/what-does-startup-cto-actually-do.html">startup CTOs</a>. This post is about why.
</blockquote>
<p>
He includes four things (that would be needed to counter the <a href="http://en.wikipedia.org/wiki/Information_cascade">information cascade</a> that PHP has) a "new challenger" language might need to burst PHP's bubble.
</p>
<ul>
<li>Speed of iteration (a good write/test/debug cycle)
<li>Better mapping of outputs to inputs
<li>A similar standard library
<li>A better OOP implementation
</ul>
<p>
He gets a bit confusing in there, moving back and forth between "PHP is good" and "PHP is bad" comments but he does come back to the one thing that everyone can agree on - regardless of your personal bias, you should always consider this: "it's all about picking the right tool for the job".
</p>]]></description>
      <pubDate>Tue, 20 Jan 2009 12:55:20 -0600</pubDate>
    </item>
  </channel>
</rss>
