<?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>Fri, 24 May 2013 22:08:00 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[7PHP.com: Zend Certification Tips & Tricks, Hear It From Zend Certified Engineer Lorna Jane Mitchell]]></title>
      <guid>http://www.phpdeveloper.org/news/19163</guid>
      <link>http://www.phpdeveloper.org/news/19163</link>
      <description><![CDATA[<p>
7PHP.com has posted a new article where they asked <i>Lorna Mitchell</i> for <a href="http://7php.com/zend-certification-advice-lorna-mitchell/">some of her advice</a> for those wanting to take the Zend Certified Engineer exam, including what the test is like and how you can prepare effectively.
</p>
<blockquote>
This is the 2nd set of <a href="http://7php.com/category/zend-certification-tips/">Zend Certification Tips and Advice</a> to help anyone taking either of the two Zend Exams powered by <a href="http://en.wikipedia.org/wiki/Zend_Technologies">Zend Technologies</a>: the Zend PHP Certification Exam and/or the Zend Framework Certification Exam. The aim being to help people who want to sit for those exams and inform them what it is all about & what to expect by <a href="http://7php.com/category/expert-php-advice/">hearing it from (pro) PHP Guys</a> who have already been through it, that is => Hear It From Zend Certified Engineers!
</blockquote>
<p>
They start with a little background on her and her experience with PHP and get quickly into the questions about the exam. Topics include things like:
</p>
<ul>
<li>What the test is about and hopes to achieve
<li>Some things you can do to prepare
<li>A recommendation to make the most of your time exploring topics you might be weak in
<li>Whether or not the ZCE training classes help in the learning process
</ul>
<p>
You can read the rest of the interview <a href="http://7php.com/zend-certification-advice-lorna-mitchell/">here</a>.
</p>]]></description>
      <pubDate>Mon, 11 Feb 2013 10:26:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPMaster.com: PHP and the i, Part 3]]></title>
      <guid>http://www.phpdeveloper.org/news/19115</guid>
      <link>http://www.phpdeveloper.org/news/19115</link>
      <description><![CDATA[<p>
On PHPMaster.com today <i>David Shirey</i> is back with the <a href="http://phpmaster.com/php-and-the-i-3">third part</a> of his series looking at using PHP on the IBM i (formerly the Series i) platform. In his <a href="http://phpdeveloper.org/news/19054">previous</a> <a href="http://phpdeveloper.org/news/19086">articles</a> he's introduced the platform and shown what knowledge you'll need to get started. In this latest post, he talks about some implementation ideas to keep in mind.
</p>
<blockquote>
 No one ever talks about how to create quality pages, what they should look like, how should they be structured, and so on. The reason for that is simple: we don't need no stinkin' instructions for that! Everyone knows how to design good screens (opps, pages). That's the easy part, right? Well, maybe not. [...] Of course, business pages are different from the pages that we may develop for a blog or website.
</blockquote>
<p>
He goes on to talk about things like the number of "switches" (shifts in context between just using the keyboard vs using the mouse as well) and how you should "mirror the task" not the database that lives behind it. He also makes a recommendation about keeping the important things "above the fold". He notes that, unlike some of the usual sites out on the web, business applications are a bit more about usefulness and less about style.
</p>]]></description>
      <pubDate>Thu, 31 Jan 2013 09:53:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Vinícius Krolow: Some tips to improve your codes readability]]></title>
      <guid>http://www.phpdeveloper.org/news/19090</guid>
      <link>http://www.phpdeveloper.org/news/19090</link>
      <description><![CDATA[<p>
In <a href="http://cobaia.net/php/2013/01/20/some-tips-to-improve-your-codes-readability/">this new post</a> to his site <i>Vinícius Krolow</i> shares some tips he thinks will help to make your PHP code more readable in the long run.
</p>
<blockquote>
What about code readability, from my point of view is one of the most important thing in the code. Who writes code that is easy to read, writes good code. Probably reading code is where you spent most part of your time, and not only your code, probably code of your team mates, or maybe code from the open source community, so write code that is simple and is easy to understand it's really important.
</blockquote>
<p>His tips (seven of them) are:</p>
<ul>
<li>Comment before write your code (DocBlock)
<li>Return frequently, Return early
<li>Break, Continue
<li>Code Standard / Name conventions
<li>Throw Exception
<li>Comment often, but not write stupid comments
<li>Methods can be always smaller than they are
</ul>
<p>
It's a little difficult to read as the English isn't the speaker's native tongue, but it gets the point across. He also recommends <a href="http://www.bennadel.com/resources/uploads/2012/ObjectCalisthenics.pdf">reading this</a> if you'd like more information about writing better OOP code that's easier to read.
</p>]]></description>
      <pubDate>Fri, 25 Jan 2013 09:53:55 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Smashing Magazine: Starting An Open-Source Project]]></title>
      <guid>http://www.phpdeveloper.org/news/18988</guid>
      <link>http://www.phpdeveloper.org/news/18988</link>
      <description><![CDATA[<p>
Smashing Magazine has a great new article that's a must read for anyone looking to start up an open source project with some <a href="http://coding.smashingmagazine.com/2013/01/03/starting-open-source-project/">guidelines to follow</a> as you get things set up.
</p>
<blockquote>
At Velocity 2011, <a href="http://stubbornella.org/">Nicole Sullivan</a> and I introduced <a href="http://csslint.net/">CSS Lint</a>, the first code-quality tool for CSS. We had spent the previous two weeks coding like crazy, trying to create an application that was both useful for end users and easy to modify. Neither of us had any experience launching an open-source project like this, and we learned a lot through the process.
</blockquote>
<p>
The article reads like a checklist of things you'll need to consider as you create your project - things like:
</p>
<ul>
<li>Determining what your goals are
<li>Choosing a license
<li>Code structure and organization
<li>Documentation
</ul>
<p>
There's also a few other suggestions that may or may not be useful depending on the project like "use a mailing list" or "use version numbers" but they're all good ideas. Even if you're already working with an open source project, this is a good overview and could give you food for thought on things you might have overlooked.
</p>]]></description>
      <pubDate>Thu, 03 Jan 2013 12:34:18 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Lars Tesmer's Blog: What My Co-Workers and I Learned When Trying to Write Unit Tests for PHPUnit]]></title>
      <guid>http://www.phpdeveloper.org/news/16839</guid>
      <link>http://www.phpdeveloper.org/news/16839</link>
      <description><![CDATA[<p>
<i>Lars Tesmer</i> and his coworkers have been working on improving their development skills lately, specifically <a href="http://lars-tesmer.com/blog/2011/09/08/what-my-co---workers-and-i-learned-when-trying-to-write-unit-tests-for-phpunit/">related to unit testing</a>. In his latest post he shares some of what they've discovered along the way.
</p>
<blockquote>
The plan was to try and write as many tests as we could for the <a href="https://github.com/sebastianbergmann/phpunit/tree/master/PHPUnit/Framework/Constraint">Constraint classes</a> PHPUnit uses to implement its assertions. [...] Well, our plan didn't work out that way, we didn't really succeed in writing a considerable amount of unit tests. However, it still was a valuable experience, as it turned out the unit tests of the Constraints are a good example of how not to unit test.
</blockquote>
<p>
He includes three of the major points they came across in their practice development:
</p>
<ul>
<li>Don't use one single test case class to test several different classes
<li>Name your tests well
<li>Avoid to test more than one behaviour in one single test
</ul>
<p>
For each, there's a summary answering the "why" question behind them including an example test (testConstraintIsType) that shows a bad, multiple assertion practice that should be avoided if possible.
</p>]]></description>
      <pubDate>Fri, 09 Sep 2011 11:56:04 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Robert Ames' Blog: Upgrading from PHP4 to PHP5]]></title>
      <guid>http://www.phpdeveloper.org/news/5559</guid>
      <link>http://www.phpdeveloper.org/news/5559</link>
      <description><![CDATA[<p>
For those out there wanting to make the move from PHP4 up to PHP5, <i>Robert Ames</i> has posted <a href="http://www.robertames.com/blog.cgi/entries/php4-to-php5-update.html">a few things</a> to watch out for.
</p>
<quote>
<i>
So, I've spent some time upgrading the <a href="http://www.darwingames.com/">darwingames.com</a> codebase to be PHP5 compatible. For those considering the transition (and language designers who are considering an incompatible source version upgrade), I offer the following observations.
</i>
</quote>
<p>
He breaks it down into to categories - the good and the bad. Some of the items on either list include:
<ul>
<li>static methods (good)
<li>E_STRICT (bad)
<li>random passing by reference gone (good)
<li>replacing is_a() with instanceof (bad)
</ul>
</p>
<p>
He also offers some of <a href="http://www.robertames.com/blog.cgi/entries/php4-to-php5-update.html">his personal suggestions</a> for guidelines for future language updates.
</p>]]></description>
      <pubDate>Sun, 11 Jun 2006 13:34:24 -0500</pubDate>
    </item>
  </channel>
</rss>
