<?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, 19 May 2013 08:52:41 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Justin Carmony: First Serious Attempts with PHPUnit, Composer, and the Omniture API]]></title>
      <guid>http://www.phpdeveloper.org/news/19337</guid>
      <link>http://www.phpdeveloper.org/news/19337</link>
      <description><![CDATA[<p>
In a new post to his site <i>Justin Carmony</i> shares some of his experiences with doing test-driven development (TDD) for a new project he was working on <a href="http://www.justincarmony.com/blog/2013/03/19/first-serious-attempts-with-phpunit-composer-and-the-omniture-api/">interfacing with the Omniture API</a>. In it he shares six lessons he learned during the work.
</p>
<blockquote>
At work we use Omniture for our web analytics, and for a long time I've wanted query our Omniture Data to run some internal reports. I discovered that Omniture has a <a href="https://developer.omniture.com/en_US/documentation/sitecatalyst-reporting/c-overview-6">restful reporting api</a>, and after using it for a little bit I decided it would be nice to write a wrapper library for it. Since I had recently taken the <a href="http://grumpy-learning.com/">PHP Testing Bootcamp</a> from Chris Hartjes, I decided I wanted write it using Test Driven Development and really get my feet wet. I also decided I wanted to make the library compatible with <a href="http://getcomposer.org/">Composer</a>. After the weekend was over, I had <a href="https://packagist.org/packages/deseretdigital/site-catalyst-reporting">an almost finished library</a> that just requires some more work to be done, but I learned a great deal that I thought I'd share.
</blockquote>
<p>He's broken the post up into sections, each with their own summary:</p>
<ul>
<li>TDD is 90% changing the way to write code, and 10% writing tests
<li>Understanding Mock Objects is the real key.
<li>It takes almost twice as long to write code and tests then just code
<li>Its extremely easy to get out of the habit of writing tests.
<li>You'll refactor quicker and more often when writing tests
<li>Having testable code made me feel much better about sharing the code.
</ul>]]></description>
      <pubDate>Wed, 20 Mar 2013 09:37:53 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Rafael Dohms' Blog: PHP Benelux 2012 - Learning lessons]]></title>
      <guid>http://www.phpdeveloper.org/news/17481</guid>
      <link>http://www.phpdeveloper.org/news/17481</link>
      <description><![CDATA[<p>
<i>Rafael Dohms</i> has a new post to his blog about some of the <a href="http://blog.doh.ms/2012/01/31/php-benelux-2012-learning-lessons/">lessons he learned</a> attending this year's <a href="http://phpbenelux.eu/">PHP Benelux conference</a> both from the perspective of attending the conference and having been at several conferences around the world.
</p>
<blockquote>
After hearing about how great <a href="http://phpbenelux.eu/">PHP Benelux</a> Conferences were I finally made it over to Belgium to check it out, and i was impressed. To catch you up on the new, I <a href="http://blog.doh.ms/2011/11/08/back-to-the-old-continent/">moved to Amsterdam</a> last december and thus had the chance of attending the conference which is now 2 hours away on a train ride. I could not expect less of a wonderful conference when names like <a href="https://twitter.com/#!/dragonbe">Michelangelo van Dam</a> are involved and this was no exception.
</blockquote>
<p>Among his suggestions, there's things like:</p>
<ul>
<li>Value your sponsors
<li>Value your attendees
<li>Make your attendees pay
<li>Value the organizers and your volunteers
</ul>
<p>
...and one of the most important ones: "Have Fun!" If you're not following this piece of advice, you're probably doing it wrong.
</p>]]></description>
      <pubDate>Wed, 01 Feb 2012 13:32:07 -0600</pubDate>
    </item>
  </channel>
</rss>
