<?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 16:59:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[CatsWhoCode.com: 10 super useful PHP snippets]]></title>
      <guid>http://www.phpdeveloper.org/news/16146</guid>
      <link>http://www.phpdeveloper.org/news/16146</link>
      <description><![CDATA[<p>
The CatsWhoCode.com blog has a new post today with what they call <a href="http://www.catswhocode.com/blog/10-super-useful-php-snippets">super useful PHP snippets</a> that could help you out in a pinch. 
</p>
<blockquote>
Having the right code snippet at the right time can definitely be a life saver for web developers. Today, I've compiled 10 really awesome PHP code snippets that will, I hope, be very helpful in your forthcomming developments.
</blockquote>
<p>Their list of ten includes bits of code for:</p>
<ul>
<li>Super simple page caching (file-based)
<li>Convert seconds to time (years, months, days, hours...)
<li>Get current weather using Google API
<li>Get latitude and longitude from an address
<li>Save url to PDF
</ul>]]></description>
      <pubDate>Tue, 05 Apr 2011 08:38:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magazine: 10 Advanced PHP Tips Revisited]]></title>
      <guid>http://www.phpdeveloper.org/news/12199</guid>
      <link>http://www.phpdeveloper.org/news/12199</link>
      <description><![CDATA[<p>
Smashing Magazine has posted <a href="http://www.smashingmagazine.com/2009/03/24/10-useful-php-tips-revisited/">a new article</a> from <a href="http://shiflett.org/">Chris Shiflett</a> and <a href="http://seancoates.com/">Sean Coates</a> with their rebuttal to the site's previous <a href="http://smashingmagazine.com/2008/11/18/10-advanced-php-tips-to-improve-your-progamming/">10 Advanced Tips</a> article.
</p>
<blockquote>
In November 2008 we published the article <a href="http://smashingmagazine.com/2008/11/18/10-advanced-php-tips-to-improve-your-progamming/">10 Advanced PHP Tips To Improve Your Programming</a>. Apparently, according to negative comments to the post, it contained some errors and some statements that are just wrong. [...] To solve the problem, we asked Chris Shiflett and Sean Coates, two PHP gurus, to take a closer look at the article, explain its errors and make it perfectly clear what is actually right and wrong in the theory and practice. This article is a professional response to our article published a couple of months ago.
</blockquote>
<p>
Here's the <a href="http://www.smashingmagazine.com/2009/03/24/10-useful-php-tips-revisited/">more accurate descriptions</a> of those tips - what's good and what's bad - as presented by <i>Chris</i> and <i>Sean</i>:
</p>
<ul>
<li>Use an SQL Injection Cheat Sheet
<li>Know the Difference Between Comparison Operators
<li>Shortcut the else
<li>Drop Those Brackets
<li>Favor str_replace() Over ereg_replace() and preg_replace()
<li>Use Ternary Operators
<li>Memcached
<li>Use a Framework
<li>Use the Suppression Operator Correctly
<li>Use isset() Instead of strlen()
</ul>]]></description>
      <pubDate>Tue, 24 Mar 2009 13:01:37 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Hansson's Blog: The immediacy of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/9914</guid>
      <link>http://www.phpdeveloper.org/news/9914</link>
      <description><![CDATA[<p>
As <i>Matthew Weir O'Phinney</i> <a href="http://weierophinney.net/matthew/archives/168-DHH-on-PHP.html">points out</a>, <i>David Hansson</i> (of <a href="http://rubyonrails.org/">Rails</a> fame) has posted a few <a href="http://www.loudthinking.com/posts/23-the-immediacy-of-php">comments</a> on what he calls the "immediacy of PHP".
</p>
<blockquote>
I love the fact that it's all just self-contained. That the language includes so many helpful functions in the box. [...] PHP scales down like no other package for the web and it deserves more credit for tackling that scope.
</blockquote>
<p>and to that, <i>Matthew</i> comments:</p>
<blockquote>
It's nice to see leaders of projects like Rails having this same attitude. It's a breath of fresh air in the competitive market of web development frameworks.
</blockquote>]]></description>
      <pubDate>Fri, 04 Apr 2008 11:21:10 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Book Review: PHP 5 In Practice]]></title>
      <guid>http://www.phpdeveloper.org/news/6739</guid>
      <link>http://www.phpdeveloper.org/news/6739</link>
      <description><![CDATA[<p>
<i>Cal Evans</i> of the Zend Developer Zone has posted a <a href="http://devzone.zend.com/node/view/id/1241">new book review</a> for one of Sams Publishing's latest PHP-related offerings, "PHP 5 In Practice" by <i>Elliott "Eli" White III</i> (Senior Programmer over at <a href="http://www.digg.com">digg.com</a>.
</p>
<blockquote>
First let me say, if you are new to PHP or programming in general, skip this book. This is not a how to or even a cookbook for simple concepts. To get the most from this book you need to have a firm grounding in programming.
</blockquote>
<p>
He sets the tone for the rest of the interview right there, <a href="http://devzone.zend.com/node/view/id/1241">noting that</a> most of the book is made up of little examples, helpful bits to fill a need rather than teaching you the basics (or more advanced features) of PHP as a language. <i>Cal</i> spotlights this kind of content by talking about the "binary tree implementation" section. Check out the rest of the review for the full story.
</p>]]></description>
      <pubDate>Mon, 20 Nov 2006 13:11:40 -0600</pubDate>
    </item>
  </channel>
</rss>
