<?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, 19 Jun 2013 20:02:15 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Smashing Magazine: My Favorite Programming Mistakes]]></title>
      <guid>http://www.phpdeveloper.org/news/16570</guid>
      <link>http://www.phpdeveloper.org/news/16570</link>
      <description><![CDATA[<p>
On the Smashing Magazine site there's a post some of <i>Paul Tero</i>'s <a href="http://coding.smashingmagazine.com/2011/07/07/my-favorite-programming-mistakes/">favorite programming mistakes</a> he's come across and heard of in his time programming.
</p>
<blockquote>
I like to classify these mistakes into three broad groups: cock-ups (or screw-ups in American English), errors and oversights. A cock-up is when you stare blankly at the screen and whisper "Oops": things like deleting a database or website, or overwriting three-days worth of work, or accidentally emailing 20,000 people. Errors cover everything, from simple syntax errors like forgetting a } to fatal errors and computational errors.
</blockquote>
<p>Included in his list are things like:</p>
<ul>
<li>Leaving Debug Mode On
<li>Turning Debug Mode Off
<li>Wrong Variable Type
<li>1p Errors
</ul>
<p>
Examples of each are included with both code and descriptions as well as "lessons learned" to help you not make the same mistakes in your applications.
</p>]]></description>
      <pubDate>Fri, 08 Jul 2011 13:57:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[NETTUTS.com: Are You Making These 10 PHP Mistakes?]]></title>
      <guid>http://www.phpdeveloper.org/news/11877</guid>
      <link>http://www.phpdeveloper.org/news/11877</link>
      <description><![CDATA[<p>
All of you developers out there, NETTUTS.com has a question for you - are you making any of <a href="http://nettuts.com/articles/are-you-making-these-10-php-mistakes/">these ten PHP mistakes</a> in your day to day development? Which ones, you ask? Read on...
</p>
<blockquote>
Here are 10 PHP mistakes that any programmer, regardless of skill level, might make at any given time. Some of the mistakes are very basic, but trip up even the best PHP programmer. Other mistakes are hard to spot (even with strict error reporting). But all of these mistakes have one thing in common: They're easy to avoid.
</blockquote>
<p>Here's the list (as <i>Glen Stanberry</i> sees it):</p>
<ul>
<li>Single quotes, double quotes
<li>Semicolon after a While
<li>NOT Using database caching
<li>Missing Semicolon After a Break or a Continue
<li>Not Using E_ALL Reporting
<li>Not Setting Time Limits On PHP Scripts
<li>Not Protecting Session ID's
<li>Not Validating Cookie Data
<li>Not Escaping Entities
<li>Using Wrong Comparison Operators
</ul>]]></description>
      <pubDate>Wed, 04 Feb 2009 09:33:51 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[John Coggeshall's Blog: Top 30 Scalability Mistakes Slides]]></title>
      <guid>http://www.phpdeveloper.org/news/6471</guid>
      <link>http://www.phpdeveloper.org/news/6471</link>
      <description><![CDATA[<p>
<i>John Coggeshall</i> has <a href="http://blog.coggeshall.org/archives/214_Top_30_Scalability_Mistakes_Slides.html">linked to the download</a> of the slides from his latest (and very popular) conference talk - <a href="http://private.coggeshall.org/top30_zend.zip">Top 30 Scalability Mistakes</a>.
</p>
<blockquote>
For those of you who are interested, you can <a href="http://private.coggeshall.org/top30_zend.zip">download</a> my slide from the tutorial I gave at ApacheCon this year. This is a very popular talk that I've been giving all year -- and this is by far the most extensive version of the talk yet.
</blockquote>
<p>
The slides cover topics like system scalability, PHP scalability, database scalability, web server scalability, and using these tips to optimize your application.
</p>]]></description>
      <pubDate>Wed, 11 Oct 2006 07:06:15 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alan Knowles' Blog: Code Reviewing.]]></title>
      <guid>http://www.phpdeveloper.org/news/6091</guid>
      <link>http://www.phpdeveloper.org/news/6091</link>
      <description><![CDATA[<p>
In a <a href="http://www.akbkhome.com/blog.php/View/122/Code_Reviewing.html">great new post</a> from <i>Alan Knowles</i> he takes a look at code reviewing, specificaly in a PHP environment.
</p>
<p>
He breaks the post up into phases (one through four) with the steps outlined along the way (including the "oh sh*t, it's getting urgent, we better fix the delivered code and make it work well enough for the client to start testing" phase). Phase four is the largest, being the bug finding and fixing stage, some of the more intensive (and sometimes numbing) times of development.
</p>
<p>
He <a href="http://www.akbkhome.com/blog.php/View/122/Code_Reviewing.html">also includes</a> a good, long list of some of the codeing standards he's accumulated over time, including:
<ul>
<li>Not creating PHP includes with functions in them!
<li>Never hard code email subjects etc. in code, use templates.
<li>Not using libraries that where not specified.. or using non-PEAR libraries when PEAR ones are available...
<li>Everything extends the base class, even code run via cron jobs.
</ul>
</p>
<p>
He also talks about using print rather than echo, exiting on XMLHttpRequest calls, shortcuts in Javascript, and cloning dataobject arrays over creating simple structs.
</p>]]></description>
      <pubDate>Mon, 21 Aug 2006 07:56:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[php|architect: Five Top PHP Mistakes]]></title>
      <guid>http://www.phpdeveloper.org/news/5844</guid>
      <link>http://www.phpdeveloper.org/news/5844</link>
      <description><![CDATA[<p>
New to the A/R/T article repository from php|architect today is <a href="http://hades.phparch.com/ceres/public/article/index.php/art::columns::exit0::july">this look</a> at the "Top Five PHP Mistakes" from <i>Marco Tabini</i>.
</p>
<blockquote>
These topics have been beaten to death, and will likely continue to be beaten well after their bones have turned to dust. However, I have never had the opportunity to explore some aspects of PHP that obviously are mistakes-not just to understand their origin, but to analyze their impact on PHP and the way they have been dealt with.
</blockquote>
<p>
His <a href="http://hades.phparch.com/ceres/public/article/index.php/art::columns::exit0::july">list of mistakes</a> is:
<ul>
<li>Objects in PHP 4
<li>Function Naming Consistency
<li>Safe Mode and Magic Quotes
<li>Register Globals
<li>Lack of Unicode Support
</ul>
</p>
<p>
Under each he explains them, noting why they are important enough to mention is the list. He does, however, end on a bit lighter note - the PHP, for all its problems and woes, is just like any other laugnage out there. It has its problems, but its learned from them and, as <i>Marco</i> puts it "has grown because of them".
</p>]]></description>
      <pubDate>Fri, 21 Jul 2006 06:00:25 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Justin Silverton's Blog:  PHP Security Mistakes - Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/5022</guid>
      <link>http://www.phpdeveloper.org/news/5022</link>
      <description><![CDATA[<i>Justin Silverton</i> continues his "PHP Security Mistakes" series with <a href="http://blinduser.blogspot.com/2006/03/php-security-mistakes-part-2.html">this new post</a>, looking at issues surrounding system calls, file uploads, and including files into your scripts.
<p>
<quote>
<i>
In one of my previous articles, I mentioned the top 5 security mistakes made in PHP. This article is a follow-up, with some more common security mistakes.
</i>
</quote>
<p>
For the <a href="http://blinduser.blogspot.com/2006/03/php-security-mistakes-part-2.html">three topics</a> he describes the functionality PHP offers for them as well as a suggestion or two as to how you can prevent these issues from showing up in your scripts. ]]></description>
      <pubDate>Tue, 21 Mar 2006 06:56:49 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[David Sklar's Blog: Correcting mistakes and educating users]]></title>
      <guid>http://www.phpdeveloper.org/news/4717</guid>
      <link>http://www.phpdeveloper.org/news/4717</link>
      <description><![CDATA[As was previously linked to, <a href="http://www.phpdeveloper.org/news/4700">this post</a> on <i>Michael Arrington</i>'s blog mentioned the <a href="http://www.techcrunch.com/2006/01/20/ning-rip/">Techcrunch article</a> about the "death of Ning" (a PHP-based mashup creation tool). Well, <a href="http://www.sklar.com/blog/archives/76-Correcting-mistakes-and-educating-users.html">this new post</a> on <i>David Sklar</i>'s blog is here to set things right.
<p>
<quote>
<i>
So there was this inflammatory Techcrunch <a href="http://www.techcrunch.com/2006/01/20/ning-rip/">post about Ning</a>. Diego has already <a href="http://www.dynamicobjects.com/d2r/archives/003321.html">done a good job</a> of walking through the inaccuracies, so I won't repeat that.
</i>
</quote>
<p>
He <a href="http://www.sklar.com/blog/archives/76-Correcting-mistakes-and-educating-users.html">mentions three main points</a> that were mistakes highlighted in the Techcrunch article:
<ul>
<li>When it comes to developer relations, (just about) no question or comment should be dismissed.
<li>The alternative to constantly tooting one's own horn is not total horn silence.
<li>The old saw is true: "all publicity is good publicity."
</ul>
<p>
For each, he gives a little background, mentioning the real motivation behind Ning's methods and differing ideas...]]></description>
      <pubDate>Tue, 24 Jan 2006 06:48:45 -0600</pubDate>
    </item>
  </channel>
</rss>
