<?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>Thu, 24 May 2012 09:26:25 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Reddit.com: Too many bugs and too much stress]]></title>
      <guid>http://www.phpdeveloper.org/news/17971</guid>
      <link>http://www.phpdeveloper.org/news/17971</link>
      <description><![CDATA[<p>
In <a href="http://www.reddit.com/r/PHP/comments/tpd4m/too_many_bugs_and_too_much_stress/">this recent post</a> on Reddit.com, a developer asks the community about some of his feelings about bugs in his software and his focus on quality:
</p>
<blockquote>
No one has told me this and I don't need them too. I feel like one bug that has a negative impact on the user experience is too many bugs. I've been programming for over 5 years professionally and I still introduce bugs into my code. [...] I don't like the expectation that I (and maybe others have) that my code must be perfect when I am not perfect. I don't like the fact that it only takes one mistake to affect so many people. [...] I'm wondering if others on here have every felt this way. What have you done about it?
</blockquote>
<p>
Suggestions in the comments talk about everything from dealing with the apparent burnout the developer is facing, a reminder that no code is bug free and some recommendations of testing and bug tracking to help make the quality of the code better (and give visibility into the level of work being done).
</p>]]></description>
      <pubDate>Thu, 17 May 2012 10:37:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPClasses.org: Lately in PHP Podcast Episode 21 - Is PHP Source Quality Really Good?]]></title>
      <guid>http://www.phpdeveloper.org/news/17610</guid>
      <link>http://www.phpdeveloper.org/news/17610</link>
      <description><![CDATA[<p>
On PHPClasses.org today they've posted their latest "Lately in PHP" podcast - episode 21, "<a href="http://www.phpclasses.org/blog/post/177-Is-PHP-Source-Quality-really-Good-or-is-it-still-Insecure--Lately-in-PHP-podcast-episode-21.html">Is PHP Source Quality really Good or is it still Insecure?</a>".
</p>
<blockquote>
A study from Coverity claims that the source code of Open Source projects such as PHP has a low defect rate. Meanwhile, a few weeks ago, the security expert Stefan Esser claims that PHP source security bug prevention has a lot to be desired because PHP core developers do not have the habit of using source code auditing tools to prevent security bugs. The matter of the PHP source code quality and security bug prevention was one of the main topics discussed by Manuel Lemos and Ernani Joppert in episode 21 of the Lately in PHP podcast.
</blockquote>
<p>
You can listen to this latest episode either via <a href="http://www.phpclasses.org/blog/post/177-Is-PHP-Source-Quality-really-Good-or-is-it-still-Insecure--Lately-in-PHP-podcast-episode-21.html">the in-page player</a> or by <a href="http://www.phpclasses.org/blog/post/177/file/109/name/Lately-In-PHP-21.mp3">downloading the mp3</a> directly. You can also <a href="http://www.phpclasses.org/blog/category/podcast/post/latest.rss">subscribe to their feed</a> to get this episode automatically (and past/future ones too).
</p>]]></description>
      <pubDate>Thu, 01 Mar 2012 10:17:08 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Artur Ejsmont's Blog: A few words on bugs and software quality]]></title>
      <guid>http://www.phpdeveloper.org/news/17519</guid>
      <link>http://www.phpdeveloper.org/news/17519</link>
      <description><![CDATA[<p>
In <a href="http://artur.ejsmont.org/blog/content/a-few-words-on-bugs-and-software-quality">this new post</a> to his blog <i>Artur Ejsmont</i> shares some of his thoughts on bugs and how they can effect the quality of your software. He touches on topics like handling bug reports, how random code changes effect them and how effective a code review can be.
</p>
<blockquote>
From time to time I see bugs in the code and I start thinking "really? is it possible that no one noticed that bug before? am i the first person to see this code?". I thought it might be worth writing a little post on what helps me to deal with bugs and software quality in general and what are the common pitfalls in developer's thought process. Although it is not a very extensive post i hope it may inspire some developers to try new approaches.
</blockquote>
<p>
Other topics he offers for consideration involve the fact that bugs will never fix themselves (they might disappear in a refactor though), that the bug is almost never in the language/data source's code and how automated (unit) testing can help to find new bugs before they're released to the users.
</p>]]></description>
      <pubDate>Wed, 08 Feb 2012 13:50:40 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Phil Sturgeon's Blog: PHP Basher Bashing]]></title>
      <guid>http://www.phpdeveloper.org/news/17285</guid>
      <link>http://www.phpdeveloper.org/news/17285</link>
      <description><![CDATA[<p>
In <a href="http://philsturgeon.co.uk/index.php/blog/2011/12/php-basher-bashing">a new post to his blog</a> today <i>Phil Sturgeon</i> responds to some comments made in <a href="http://chipotle.tumblr.com/post/13908062333/php-is-not-an-acceptable-cobol">another post</a> about PHP not "being an acceptable COBOL".
</p>
<blockquote>
Anyone who has used PHP for a while knows that it has its ugly parts. Recently I've seen a whole swathe of PHP-bashing articles and that would fine if they were they are making a valid point, but some of it has just been - as I tweeted recently - "absolute drivel". 
</blockquote>
<p>
He directly refutes some of the points made in that article, points out a <a href="http://chipotle.tumblr.com/post/14517072245/php-redux">newer post</a> from the same author (which misses some points as well) and finishes it off with a look at why he "still" uses PHP versus something like Closure or NodeJS for his development.
</p>
<blockquote>
Despite known flaws and imperfections I continue to use PHP as my primary language because during all the time I spend worrying about which technology is the neatest, coolest or shiniest I could have built a new application to sell or finished another client site.
</blockquote>
<p>
Be sure to check out <a href="http://philsturgeon.co.uk/index.php/blog/2011/12/php-basher-bashing#comments">the comments</a> for some other thoughts about the language (and Phil's responses).
</p>]]></description>
      <pubDate>Wed, 21 Dec 2011 08:18:05 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Agile Toolkit Blog: How to Earn Money with Open Source?]]></title>
      <guid>http://www.phpdeveloper.org/news/16914</guid>
      <link>http://www.phpdeveloper.org/news/16914</link>
      <description><![CDATA[<p>
On the Agile Toolkit blog today there's <a href="http://agiletoolkit.org/blog/how-to-earn-money-with-open-source/">and interesting article</a> with a slightly misleading title - "How to Earn Money with Open Source?" It talks less about strategies of how to monetize your open source project and more about how other projects are doing it and why a good core team is important.
</p>
<blockquote>
OpenSource is an amazing phenomena, but how safe open-source projects are? Would commercial project be safer over the community-supported project? Frameworks can't exist without their core team and In this article I look at how different PHP frameworks are supporting their core developers.
</blockquote>
<p>
He talks briefly about the need for a good, solid group of core developers on a framework (or really any product) to provide a stable foundation if a product was created with it. Four projects are mentioned - Zend Framework, CodeIgniter, Symfony and Agile Toolkit - and why, because of the backing they have from a company and a large group of developers (and contributors) they're not "yet another framework" that'll disappear over time.
</p>
<blockquote>
Making new frameworks is fun, however, if you share framework with others, be responsible about the support. Make realistic goals and try to have a plan for a next few years. If you are the author, think who will support the community when you decide to move on.
</blockquote>]]></description>
      <pubDate>Tue, 27 Sep 2011 11:14:18 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 4]]></title>
      <guid>http://www.phpdeveloper.org/news/16812</guid>
      <link>http://www.phpdeveloper.org/news/16812</link>
      <description><![CDATA[<p>
<i>Michelangelo van Dam</i> has posted the fourth part of his "Quality Assurance in PHP projects" series to his blog today - a continuation of his <a href="http://www.dragonbe.com/2011/09/quality-assurance-on-php-projects.html">emphasis on PHPUnit</a> and testing his sample "Tic-Tac-Toe" game.
</p>
<blockquote>
In parts <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_17.html">one</a>, <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_23.html">two</a> and <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_28.html">three</a> we focussed on writing tests for a game of tic-tac-toe, with in parts two and three we optimized our tests so they focus on the functionality of the individual parts Grid and Player, with a collection class Players to handle Player objects.
</blockquote>
<p>
In this fourth part he focuses on the rules for playing the game and the unit tests to validate the correct flow. He covers one of his tests before, looking at the "can be played" validation for identical symbols. He modifies this to use a provider that gives the test the set of data to work from with varying symbols. He writes additional tests to be sure the game "stops after winning" and that it has a winner/which player is the winner. You can find the full game source (complete with these tests) on <a href="https://github.com/DragonBe/tictactoe">his github account</a>.
</p>]]></description>
      <pubDate>Mon, 05 Sep 2011 08:34:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 3]]></title>
      <guid>http://www.phpdeveloper.org/news/16782</guid>
      <link>http://www.phpdeveloper.org/news/16782</link>
      <description><![CDATA[<p>
<i>Michelangelo van Dam</i> is back today with the next part of his "Quality Assurance in PHP Projects" series, the <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_28.html">third part</a> of his look at <a href="http://phpunit.de">PHPUnit</a>, the popular PHP-based unit testing software.
</p>
<blockquote>
Time for the third part on unit testing with phpunit in my <a href="http://www.dragonbe.com/search/label/qaseries">Quality Assurance on PHP projects</a> series. In <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_17.html">part one</a> we started writing unit tests for a simple game of tic-tac-toe. In <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_23.html">part two</a> we started converting our unit tests into actual code and moved our general unit test code for grids into a Grid focussed unit test. In this part, we're looking at how we can optimize the tests for our players.
</blockquote>
<p>
He digs deeper into the TicTacToe application and focuses first on the single-player functionality, checking the symbol for the current player (an "X" or "O") and throwing exceptions in the code when things aren't right. He also shows the tests for checking on "more than one player" and "cannot add more than two players" scenarios. Full code for the Player class and tests are included.
</p>]]></description>
      <pubDate>Mon, 29 Aug 2011 09:18:28 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/16755</guid>
      <link>http://www.phpdeveloper.org/news/16755</link>
      <description><![CDATA[<p>
<i>Michelangelo van Dam</i> has posted the <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_23.html">second part of his look at PHPUnit</a> in his "Quality Assurance in PHP Projects" blog post series. This is a continuation from <a href="http://phpdeveloper.org/news/16730">part one</a>.
</p>
<blockquote>
I hope everyone enjoyed my <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_17.html">first article</a> on unit testing with <a href="http://phpunit.de/">phpunit</a> where I started writing a few tests that would guide us building our little game of tictactoe. Today I'm going start with turning these tests into working code and adjusting our tests to have a clear separation of responsibility. Since we already know what the code should produce, we only have to work out the details.
</blockquote>
<p>
He picks up where he left off on his "tic-tac-toe" example by defining some of the classes that will be needed to fulfill the tests and a sample test to check the generated grid's contents. He includes the Grid class that will do the job (full code included) and a full test case class that runs his example with checks on testGameGridIsSetAtStart, testGridCanPositionASymbol, testGridHasThreeSymbolsInARow and testGridHasThreeSymbolsInAColumn, some with their own data providers.
</p>]]></description>
      <pubDate>Tue, 23 Aug 2011 08:38:19 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 1]]></title>
      <guid>http://www.phpdeveloper.org/news/16730</guid>
      <link>http://www.phpdeveloper.org/news/16730</link>
      <description><![CDATA[<p>
<i>Michelangelo van Dam</i> continues his "Quality Assurance in PHP projects" series in his latest post, the first of a few, about <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects_17.html">using PHPUnit to test your application</a>.
</p>
<blockquote>
Of all tools available for improving quality assurance, there's one tool that is the core tool you have to master: PHPUnit. PHPUnit is a complete testing framework crafted by Sebastian Bergmann (<a href="http://twitter.com/!#/s_bergmann">@s_bergmann</a>), who ported existing xUnit frameworks to PHP. And with this testing framework you're able to test your functionality in an automated way before you push code into production.
</blockquote>
<p>
<i>Michelangelo</i> walks you through the installation (via the PEAR installer), creating a phpunit.xml configuration file and making a basic bootstrapper to define some paths and environments. To make the tests a bit more relevant than just pseudo-test examples, he's created a set of tests based around a <a href="http://en.wikipedia.org/wiki/Tic-tac-toe">tic-tac-toe application</a> in a test-driven design fashion (tests first, then code). In this first part he sets up some of his assertions in the tests, but you'll have to wait until part 2 for the code that will make them pass.
</p>]]></description>
      <pubDate>Wed, 17 Aug 2011 10:02:33 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPDocumentor feedback]]></title>
      <guid>http://www.phpdeveloper.org/news/16686</guid>
      <link>http://www.phpdeveloper.org/news/16686</link>
      <description><![CDATA[<p>
As a follow up to his <a href="http://phpdeveloper.org/news/16638">previous post</a> about using DocBlock commenting and <a href="http://www.phpdoc.org/">phpDocumentor</a> for automatic project documentation generation, <i>Michelangelo van Dam</i> has posted <a href="http://www.dragonbe.com/2011/08/quality-assurance-on-php-projects.html">a deeper look at DocBlox</a>, one of his previously mentioned alternatives.
</p>
<blockquote>
First of all, thank you all for the enormous feedback I got on my latest article on documentation of code. I got a lot of comments on the usage of <a href="http://www.phpdoc.org/">PHPDocumentor</a>. [...] I have to agree that [there are reasons] valid enough to step away from <a href="http://www.phpdoc.org/">PHPDocumentor</a> as a tool for documentation purposes and look for a better alternative. So I've investigated one tool most people have commented on or tweet-ed/facebook-ed/g+-ed on: <a href="http://www.docblox-project.org/">DocBlox</a>.
</blockquote>
<p>
He touches on the installation of the tool and mentions <a href="http://weierophinney.net/matthew/archives/265-Using-DocBlox.html">this tutorial</a> from <i>Matthew Weier O'Phinney</i> that guided him through the setup and use of DocBlox. He rand a few tests comparing phpDocumentor and DocBlox for the documentation generate and DocBlox came out <a href="http://2.bp.blogspot.com/--WIuSHOm8Mk/Tj7zto62KlI/AAAAAAAACwA/RWlyOg93XiU/s1600/Running+DocBlox.png">on</a> <a href="http://2.bp.blogspot.com/-hfEjzswrpD0/Tj7zuOswYkI/AAAAAAAACwE/FY8GLzZd-1o/s1600/Running+PHPDocumentor.png">top</a> when it came to runtime (and memory usage).
</p>]]></description>
      <pubDate>Mon, 08 Aug 2011 11:42:47 -0500</pubDate>
    </item>
  </channel>
</rss>

