<?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>Sat, 05 Jul 2008 14:24:29 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[C7Y: Reflections on Designing an IRC Bot in PHP, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/9996</guid>
      <link>http://www.phpdeveloper.org/news/9996</link>
      <description><![CDATA[<p>
<i>Matthew Turland</i> notes that the <a href="http://c7y.phparch.com/c/entry/1/art,irc_bots_in_php2">second part</a> of his "IRC Bots in PHP" series of articles has been posted to the C7Y community site (from <a href="http://www.phparch.com">php|architect</a>).
</p>
<blockquote>
The precursor to this article introduced some background and an overview of the design for the Phergie project as an example of the concepts involved in a PHP IRC bot implementation. This article will go further into the topic of plugins including descriptions of those that are commonly needed to make a bot fully functional as well as the commonly needed core features to support plugin development.
</blockquote>
<p>
In <a href="http://www.phpdeveloper.org/news/9934">part one</a> he set up some of the foundation code and explained some of the thought behind the structure of the bot. In <a href="http://c7y.phparch.com/c/entry/1/art,irc_bots_in_php2">this part</a> he gets more into the heart of the bot, showing how to define functions for common IRC actions (join/part/ping/etc) and how he made a plugin system to handle custom actions. He also mentions topics like memory usage, data storage methods and some of the "niceties" he included.
</p>]]></description>
      <pubDate>Fri, 18 Apr 2008 11:14:56 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Action Helpers in Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/9936</guid>
      <link>http://www.phpdeveloper.org/news/9936</link>
      <description><![CDATA[<p>
On the Zend Developer Zone, there's a <a href="http://devzone.zend.com/article/3350-Action-Helpers-in-Zend-Framework">article posted</a> from <i>Matthew Weir O'Phinney</i> spotlighting one of the handy features of the Zend Framework - Action Helpers.
</p>
<blockquote>
<a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html">Action Helpers</a> in <a href="http://framework.zend.com/">Zend Framework</a> are often considered a fairly arcane subject, something for experts only. However, they are meant to be an easy way to extend the capabilities of <a href="http://framework.zend.com/manual/en/zend.controller.action.html">Action Controllers</a>, negating the need to create your own base controller with custom functionality. The aim of this tutorial is to show you how to quickly and easily create and use Action Helpers to your advantage.
</blockquote>
<p>
He covers some of the basics - setting up a controller to extend Zend_Controller_Action - and assigning helpers to it. He looks hat hooking in events, registering and retrieving the helpers with a Broker and how to create your own custom helper. Their example is a form loader that lest you load the code for a form by submitting its class name.
</p>]]></description>
      <pubDate>Wed, 09 Apr 2008 08:53:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Raphael Stolt's Blog: Creating Zend Framework snippets for TextMate]]></title>
      <guid>http://www.phpdeveloper.org/news/9677</guid>
      <link>http://www.phpdeveloper.org/news/9677</link>
      <description><![CDATA[<p>
<i>Raphael Stolt</i> has <a href="http://raphaelstolt.blogspot.com/2008/02/creating-zend-framework-snippets-for.html">posted  a new entry</a> to his blog that talks about combining two things that many developers out there already use - the Zend Framework and the TextMate editor. He shows hos to make some useful code snippets that can be customized to whatever you might need.
</p>
<blockquote>
To reduce the typing effort for the most common tasks in creating a Zend Framework based application, which are creating action controllers including their hosted actions and creating new models for accessing the underlying database, I spent some minutes to figure out how to create and add these valuable snippets to the default PHP bundle.
</blockquote>
<p>
The contents of the examples snippets are included - one to set up a controller, one to add an action to it and an third that will automatically set a table name property.
</p>]]></description>
      <pubDate>Thu, 21 Feb 2008 09:39:00 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Jonathan Snook's Blog: Easier Static Pages for CakePHP 1.2]]></title>
      <guid>http://www.phpdeveloper.org/news/9567</guid>
      <link>http://www.phpdeveloper.org/news/9567</link>
      <description><![CDATA[<p>
<i>Jonathan Snook</i> has <a href="http://snook.ca/archives/cakephp/static_pages_cakephp12/">posted about</a> a method he's using to make the creation/use of static pages in a CakePHP application (or website) simpler.
</p>
<blockquote>
Traditionally in a CakePHP application, to do static pages you have two options: use the built-in Pages controller or set up an empty action in a controller.
</blockquote>
<p>
Feeling that neither of these two options met how he wanted things to work, <i>Jonathan</i> (and <a href="http://cake.insertdesignhere.com/">Nate Abele</a>) developed a class that extends the error handler in the CakePHP framework to handle "missing" actions and controllers. This means that, if an unknown controller/action combo is called, this script will check in its correct location (in the structure of the site) and try to find it to render it.
</p>]]></description>
      <pubDate>Tue, 05 Feb 2008 08:44:00 -0600</pubDate>
    </item>
  </channel>
</rss>
