<?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, 26 May 2013 01:02:23 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[MaltBlue.com: 5 Reasons Coding Standards Are Essential]]></title>
      <guid>http://www.phpdeveloper.org/news/19306</guid>
      <link>http://www.phpdeveloper.org/news/19306</link>
      <description><![CDATA[<p>
<i>Matthew Setter</i> has posted five reasons why he thinks that making a coding standard is an essential part of your development process. <a href="http://www.maltblue.com/software-engineering-2/5-reaons-coding-standards-are-essential">He suggests</a> that "pain avoidance" is one of the key factors, both for new members of the team and for those maintaining it in the future.
</p>
<blockquote>
Whenever you're working on a project, are you consistent? Are you consistent in your coding style, consistent in your documenting, consistent in your database naming conventions? Better yet, do you and your team have a coding standard which you consistently adhere to? If you don't, you're buying yourself and others a world of pain - which is painlessly simple to avoid. Today I'm banging the drum, shouting from the street corner, calling from the cathedral spire, imploring you to do one thing, above all else - pick a coding standard and then BE CONSISTENT!
</blockquote>
<p>His five reasons for implementing (and effectively using) a coding standard are:</p>
<ul>
<li>Poor, Inconsistent Code - Causes You Pain
<li>Your Code is Easier to Read
<li>Your Code is Easier to Understand
<li>Your Code is Easier to Maintain
<li>Your Code is Easier to Collaborate on
</ul>
<p>
Check out <a href="http://www.maltblue.com/software-engineering-2/5-reaons-coding-standards-are-essential">the post</a> for summaries of each point.
</p>]]></description>
      <pubDate>Wed, 13 Mar 2013 10:13:59 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Parra's Blog: Calling Conventions '" when you need to know C to understand PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/12824</guid>
      <link>http://www.phpdeveloper.org/news/12824</link>
      <description><![CDATA[<p>
<i>David Parra</i> has <a href="http://blog.experimentalworks.net/2009/07/calling-conventions-when-you-need-to-know-c-to-understand-php/">a suggestion</a> for PHP developers out there - it might be beneficial to learn some C so you know what's going on.
</p>
<blockquote>
I think most of the people using PHP wonder from time to time about particular behavior of the language. [...] But lately I stumbled over a nice one. It looked like a bug in PHP, but turns out to be an interesting, curious, part of the C-language.
</blockquote>
<p>
He gives an example of a case where an error message (as a result of E_ALL error reporting) shows evaluation of certain variables in a different order than anticipated. As it turns out, the difference was in the order of the parameters in the C code of PHP (different on SPARC versus x86 systems).
</p>]]></description>
      <pubDate>Tue, 07 Jul 2009 12:03:24 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP in Action: Comments Considered Harmful]]></title>
      <guid>http://www.phpdeveloper.org/news/11622</guid>
      <link>http://www.phpdeveloper.org/news/11622</link>
      <description><![CDATA[<p>
In <a href="http://www.reiersol.com/blog/1_php_in_action/archive/174_comments_considered_harmful.html">this new post</a> from the PHP in Action blog, they comment on <i>Eli White</i>'s <a href="http://phpadvent.org/2008/commenting-on-comments-by-eli-white">comments</a> on commenting.
</p>
<blockquote>
There is too much old advice in PHP. A recent case comes from the PHP Advent calendar. <a href="http://phpadvent.org/2008/commenting-on-comments-by-eli-white">Eli White</a> is a strong believer in commenting code, including inline comments inside functions. Unfortunately, he's at least 10 years too late. This used to be good advice, but not any more. Up to a point, he's right.
</blockquote>
<p>
They propose a better way - refactoring code so that its as easy to read as possible, reducing the need for extensive commenting. They illustrate with a rework from the <a href="http://framework.zend.com">Zend Framework</a> function, changing up the method names to better reflect the action inside (rather than the current "doUpdate").
</p>]]></description>
      <pubDate>Wed, 24 Dec 2008 13:41:38 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[The Show (CakePHP Podcast): Understanding FormHelper]]></title>
      <guid>http://www.phpdeveloper.org/news/8766</guid>
      <link>http://www.phpdeveloper.org/news/8766</link>
      <description><![CDATA[<p>
The CakePHP podcast, "The Show" has <a href="http://live.cakephp.org/shows/view/4">posted it's latest episode</a> - a spotlight on the FormHelper component of the framework:
</p>
<blockquote>
Nate Abele and Larry Masters join me to discuss the new FormHelper feature in CakePHP 1.2. This time we manage to stay on topic and sober. Join us for an archived hour of form developing goodness.
</blockquote>
<p>
You can either subscribe to their <a href="http://live.cakephp.org/shows/index.rss">normal feed</a>, their <a href="itpc://live.cakephp.org/shows/index.rss">iTunes feed</a> or you can just grab the show <a href="http://live.cakephp.org/shows/view/4.mp3">directly from the site</a> to enjoy the episode.
</p>]]></description>
      <pubDate>Tue, 02 Oct 2007 12:09:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Codist Blog: Followup To: I Will Never Understand the Appeal Of PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/6893</guid>
      <link>http://www.phpdeveloper.org/news/6893</link>
      <description><![CDATA[<p>
A few days back there was <a href="http://www.phpdeveloper.org/news/6873">a post</a> on the "The Codist" blog about why the author would never quite understand the appeal of PHP to the masses and some of his thoughts behind it. Well, there was such an outcry and response to his comments that he's written up <a href="http://codist.biit.com/fiche/thecodist/article/followup-to-i-will-never-understand-the-appeal-of-php">another post</a> on what he learned from comments made.
</p>
<blockquote>
Clearly I touched a nerve. However I did learn a lot of things that you don't read in a quickly tutorial on PHP. The whole point of writing something is to get feedback, positive or negative, and hopefully learn from it.
</blockquote>
<p>
He <a href="http://codist.biit.com/fiche/thecodist/article/followup-to-i-will-never-understand-the-appeal-of-php">admits</a> that his experience with PHP and its developers has been limited, so his perspective might have been thrown off a bit. He still holds to one thing from the previous article, though - that PHP just isn't for him.
</p>]]></description>
      <pubDate>Thu, 14 Dec 2006 07:11:32 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Tectonic.co.za: Getting your head around PHP objects]]></title>
      <guid>http://www.phpdeveloper.org/news/5976</guid>
      <link>http://www.phpdeveloper.org/news/5976</link>
      <description><![CDATA[<p>
In a new article from Tectonic today, <i>Jason Norwood-Young</i> <a href="http://www.tectonic.co.za/view.php?id=1094">takes a look at</a> one of the harder things for beginning PHP developers to understand - objects.
</p>
<blockquote>
<p>
Still the practice of using objects in PHP remains a bit of a lost art - you're more likely to find an application with a bunch of functions than objects. PHP just lends itself to function-like thinking.
</p>
<p>
That doesn't mean that you shouldn't take advantage of the object-oriented (OO) features of PHP. The big question is when. Deciding when to implement a bit of code as an object or as a function is the real trick of object-oriented programming (OOP) in PHP (or as I like to call it, POOP). If you get that right, you can save yourself a lot of time and hassle down the line.
</p>
</blockquote>
<p>
<i>Jason</i> <a href="http://www.tectonic.co.za/view.php?id=1094">starts off with the differences</a> between OOP and regular, procedural programming, explaining it with a series of reasons/times to choose OOP. Of course, code examples are a must, and a few are included, showing the structure of classes and how to create new objects from them. He explains the PHP5 functionality offered as well, including private/public/protected values and functions.
</p>]]></description>
      <pubDate>Tue, 08 Aug 2006 06:02:20 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Drupal.org: Tuning your server for optimal Drupal performance]]></title>
      <guid>http://www.phpdeveloper.org/news/5204</guid>
      <link>http://www.phpdeveloper.org/news/5204</link>
      <description><![CDATA[<p>
On the Drupal site, there's a <a href="http://drupal.org/node/2601">handy article</a> instructing you on getting the most performance out of your server for the <a href="http://drupal.org/">Drupal</a> software.
</p>
<quote>
<i>
The performance of your Drupal site is dependent on three main factors: the goals of your site, the resource demands of your site traffic, and the system performance and configuration of underlying technologies.
</i>
</quote>
<p>
They <a href="http://drupal.org/node/2601">seperate it out</a> into three different sections - setting out your performance goals, analysing your site for current traffic/resource consumption, and the actual implementation of the performance settings. They give a few steps here to follow to check what your server is currently using and some links to other tips on tuning the various pieces of the puzzle.
</p>
<p>
One thing that they mention that's worth repeating to any and all web developers out there: "Apache is bandwidth limited, PHP is CPU limited, and MySQL is memory limited and disk I/O bound".
</p>]]></description>
      <pubDate>Wed, 19 Apr 2006 07:14:14 -0500</pubDate>
    </item>
  </channel>
</rss>
