<?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 03:04:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHP-Tip-a-Day: PHP Tutorial: King Floyd and the Seventeen Princes - A Tale of the Observer Pattern]]></title>
      <guid>http://www.phpdeveloper.org/news/18127</guid>
      <link>http://www.phpdeveloper.org/news/18127</link>
      <description><![CDATA[<p>
On the PHP-Tip-a-Day site today there's an new "fable" posted in the Design Pattern Fables series. This time it's about <a href="http://www.php-tip-a-day.com/php-tutorial-king-floyd-and-the-seventeen-princes-a-tale-of-the-observer-pattern/">the Observer pattern</a> (and kings and princes).
</p>
<blockquote>
The first place I recall encountering the observer pattern was not in PHP, but in JavaScript. If you've ever set a listener to fire when an event happened, you've used the observer pattern. Functions or methods are registered with an object so that when it experiences a specific event, it "notifies" the registered functions or methods by calling them.
</blockquote>
<p>
His story tells about a royal family, a pregnancy and magic mirrors that allows for instant communication between the family and outlying locations. He relates it to the objects and "watchers" that make up the Observer pattern and gives a brief code example (in Javascript) of a HTML button and a jQuery event observer that fires when it's clicked.
</p>]]></description>
      <pubDate>Fri, 22 Jun 2012 09:20:39 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHP-Tip-a-Day: PHP Tutorial: The Legend of the Singleton]]></title>
      <guid>http://www.phpdeveloper.org/news/18087</guid>
      <link>http://www.phpdeveloper.org/news/18087</link>
      <description><![CDATA[<p>
Following his <a href="http://phpdeveloper.org/news/18081">recent allegory</a> about the Factory pattern (as described in story form) <i>Greg Bulmash</i> has posted <a href="http://www.php-tip-a-day.com/php-tutorial-the-legend-of-the-singleton/">the Legend of the Singleton</a> to help with your understanding this pattern.
</p>
<p>
The <a href="http://en.wikipedia.org/wiki/Singleton_pattern">Singleton pattern</a>  provides an interface to let your application always pull out the same object (or make a new one if it needs to).
</p>
<p>
<a href="http://www.php-tip-a-day.com/php-tutorial-the-legend-of-the-singleton/">His legend</a> talks about kings, mythological data sources and the overloading of multiple "hoses" (connections) to it. Also included is a code example showing a simple database class that includes a "getInstance" method acting as the Singleton to return either a new or the (same) current instance.
</p>
]]></description>
      <pubDate>Wed, 13 Jun 2012 09:02:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Community News: ABCPHP.com (Digg-Like PHP News Source)]]></title>
      <guid>http://www.phpdeveloper.org/news/12143</guid>
      <link>http://www.phpdeveloper.org/news/12143</link>
      <description><![CDATA[<p>
If you're constantly hungering for more PHP news, there's a new resource (a Digg-like one, too) that wants to give PHPers the latest from the community and give them a way to show which they like the best - <a href="http://www.abcphp.com/">abcphp</a>.
</p>
<blockquote>
abcphp.com is a social news website made for people to discover and share PHP related content from anywhere on the Internet, by submitting links and stories, and voting and commenting on submitted links and stories.
</blockquote>
<p>
The site lets you vote (with a registered account) on the PHP-related articles they've posted ala Digg.com and breaks them up into categories like "New Releases", "PHP Dev Tools", "Database" and "Security". You can even create groups of people that share the same interests. Check it out and maybe <a href="http://www.abcphp.com/submit">submit a story</a> while you're there.
</p>]]></description>
      <pubDate>Mon, 16 Mar 2009 12:55:09 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Sebastian Bergmann's Blog: Support for BDD and Stories in PHPUnit 3.3]]></title>
      <guid>http://www.phpdeveloper.org/news/9441</guid>
      <link>http://www.phpdeveloper.org/news/9441</link>
      <description><![CDATA[<p>
On his blog today <i>Sebastian Bergmann</i> has <a href="http://sebastian-bergmann.de/archives/738-Support-for-BDD-and-Stories-in-PHPUnit-3.3.html">posted about</a> new functionality that's been added to the PHPUnit unit testing package for PHP - support for BDD and Stories.
</p>
<blockquote>
PHPUnit_Extensions_Story_TestCase is a new extension for PHPUnit that has been contributed by <a href="http://www.xait.no/">Xait</a>, a company that I visited last fall. It adds a story framework with a <a href="http://martinfowler.com/bliki/DomainSpecificLanguage.html">Domain-Specific Language (DSL)</a> for <a href="http://dannorth.net/whats-in-a-story">Behaviour-Driven Development (BDD)</a>.
</blockquote>
<p>
He <a href="http://sebastian-bergmann.de/archives/738-Support-for-BDD-and-Stories-in-PHPUnit-3.3.html">includes an example</a> of the new extension in action - creating a Story, adding Steps to it and the output that would result from the execution (reading?) of the example.
</p>]]></description>
      <pubDate>Thu, 17 Jan 2008 08:48:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Prelude to foundation: Its time to go for a better PHP Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/7686</guid>
      <link>http://www.phpdeveloper.org/news/7686</link>
      <description><![CDATA[<p>
In a <a href="http://hasin.wordpress.com/2007/04/23/prelude-to-foundation-its-time-to-go-for-a-better-php-framework/">new blog entry today</a>, <i>Hasin Hayder</i> tells the reader a "little story" about a journey he made to get to framework happiness with <a href="http://codeigniter.com/">CodeIgniter</a>.
</p>
<p>
He walks through his thoughts and needs at different stages of the development process - a database abstraction library here, version control there - and ending up with the framework choice that faced him. Among his options were offerings by <a href="http://www.pradosoft.com/">Prado</a>, <a href="http://seagullproject.org/">Seagull</a>, <a href="http://www.symfony-project.com/">Symfony</a>, <a href="http://www.cakephp.org/">CakePHP</a> and his pick - <a href="http://codeigniter.com/">CodeIgniter</a>.
</p>
<blockquote>
Suddenly I got codeigniter and I was able to run a whole lot of controllers, templates and models in minutes (well not in minutes, but much less time than previous ones). A rich , pleasing to read, friendly set of documentation, a bunch of in built libraries and less autonomous control gives me full freedom over my application. It was easy to integrate my old friend smarty with it, in case it comes with it's own active record, but it gives me chance to add adoDB with it. I fall in love with code igniter soon after i realize that it comes with almost zero learning time (or i better say learning on demand)
</blockquote>
<p>
He also mentions that, had <a href="http://hasin.wordpress.com/2007/04/23/prelude-to-foundation-its-time-to-go-for-a-better-php-framework/">the post</a> been a bit more technical in nature, other factors would have been included. As it is, though, it flows a bit better this way.
</p>]]></description>
      <pubDate>Mon, 23 Apr 2007 15:54:07 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[David Sklar's Blog: Ning in International PHP Magazine]]></title>
      <guid>http://www.phpdeveloper.org/news/4814</guid>
      <link>http://www.phpdeveloper.org/news/4814</link>
      <description><![CDATA[<i>David Sklar</i> has <a href="http://www.sklar.com/blog/archives/79-Ning-in-International-PHP-Magazine.html">a quick mention</a> on his blog today about the article concerning Ning in the latest issue of PHP Magazine.
<p>
<quote>
<i>
The <a href="http://www.php-mag.net/magphpde/psecom,id,20,archive,2,noeid,20,.html">new issue of International PHP Magazine</a> is out, with the cover story I wrote on building <a href="http://www.ning.com/">Ning</a> apps.
<p>
The article provides an overview of working in the Ning playground -- in addition to all the regular PHP you know and love, it covers using the Ning Content Store, simplifying file uploads, and using our Ajax components.
</i>
</quote>
<p>
<a href="http://www.ning.com/">Ning</a> is "the easiest way to create your own social web apps on the Internet today". ]]></description>
      <pubDate>Wed, 08 Feb 2006 06:55:07 -0600</pubDate>
    </item>
  </channel>
</rss>
