<?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, 16 May 2008 07:23:48 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 7: Authorisation with Zend_Acl & Styling]]></title>
      <guid>http://www.phpdeveloper.org/news/10162</guid>
      <link>http://www.phpdeveloper.org/news/10162</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> is up to <a href="http://blog.astrumfutura.com/archives/362-Example-Zend-Framework-Blog-Application-Tutorial-Part-7-Authorisation-with-Zend_Acl-and-Revised-Styling.html">part seven</a> of his blog creation (with the Zend Framework) series, tracking his development paths and though processes along the way. This new part of the seres looks at using Zend_Acl for user management and changing up some of the style of the site.
</p>
<blockquote>
We previously covered how to authenticate an author to the blog, but we still have nothing ensuring only authenticated authors can access the new Administration Module. This is the domain of Zend_Acl, an implementation of an Access Control List system which limits access to resources by the roles assigned to a user.
</blockquote>
<p>
He <a href="http://blog.astrumfutura.com/archives/362-Example-Zend-Framework-Blog-Application-Tutorial-Part-7-Authorisation-with-Zend_Acl-and-Revised-Styling.html">starts</a> by helping you understand access control lists including roles and privileges. He plans out the different roles that he wants the application to have first (always a good first step) and then implements them in a class extending the Zend_Acl component. He wraps this all in a front controller to make it easy to use. 
</p>
<p>
He also tosses in a bit there at the end about CSS and styling to handle the forms for login and the administration piece of the blog he created earlier.
</p>]]></description>
      <pubDate>Mon, 12 May 2008 11:15:49 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Maarten Balliauw's Blog: Reuse Excel business logic with PHPExcel]]></title>
      <guid>http://www.phpdeveloper.org/news/10115</guid>
      <link>http://www.phpdeveloper.org/news/10115</link>
      <description><![CDATA[<p>
<i>Maarten Balliauw</i> has <a href="http://blog.maartenballiauw.be/post/2008/03/Reuse-Excel-business-logic-with-PHPExcel.aspx">made a new blog post</a> today about a method he's using to help reuse some of the business logic that Excel spreadsheets can have in a PHP script with help from <a href="http://www.codeplex.com/PHPExcel">PHPExcel</a>.
</p>
<blockquote>
In many companies, business logic resides in Excel. This business logic is sometimes created by business analysts and sometimes by business users who want to automate parts of their everyday job using Excel. [...] Did you know you can use PHPExcel to take advantage of the Excel-based business logic without having to worry about duplicate business logic?
</blockquote>
<p>
He creates a <a href="http://examples.maartenballiauw.be/phpexcel4business/phpexcel4business.zip">quick example</a> of a script that can take in an Excal file and pull it into a PHPExcel object, ready for manipulation. He fills in values for the already defined fields (like "carColor" or "leatherSeats") and uses the getCalculatedValue method to perform the action on the cell. The output is dropped into a variable that can be echoed out or used later on in the PHP script.
</p>]]></description>
      <pubDate>Tue, 06 May 2008 07:51:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Zend Developer Zone: Decorators with Zend_Form]]></title>
      <guid>http://www.phpdeveloper.org/news/10112</guid>
      <link>http://www.phpdeveloper.org/news/10112</link>
      <description><![CDATA[<p>
On the Zend Developer Zone there's a <a href="http://devzone.zend.com/article/3450-Decorators-with-Zend_Form">new tutorial</a> (by <i>Matthew Weier O'Phinney</i>) covering the use of decorators with the Zend_Form component of the Zend Framework.
</p>
<blockquote>
One point of flexibility [Zend_Form] offers has proved to be a pain point for many developers: decorators. This tutorial aims to shed some light on decorators, as well as provide strategies for creating your own decorators and combining them in creative ways to customize the output your forms generate.
</blockquote>
<p>
<i>Matthew</i> <a href="http://devzone.zend.com/article/3450-Decorators-with-Zend_Form">starts</a> with a little background behind the component to help you find your way around. Building on this, he shows how to use some standard output decorators and how to create decorators of your own. His example shows how to create a set of grouped checkboxes.
</p>]]></description>
      <pubDate>Mon, 05 May 2008 12:57:34 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Mikko Koppanen's Blog: Fill patterns]]></title>
      <guid>http://www.phpdeveloper.org/news/10069</guid>
      <link>http://www.phpdeveloper.org/news/10069</link>
      <description><![CDATA[<p>
<i>Mikko Koppanen</i> has <a href="http://valokuva.org/?p=102">a quick post</a> today showing how to use PHP and Imagick to create an image of text filled with another image layer behind it:
</p>
<blockquote>
The fill pattern is used to annotate text but the named pattern could also be used to fill any shapes that allow fill to be specified (include circles, ellipses, rectangles, polygons etc etc).
</blockquote>
<p>
<a href="http://valokuva.org/?p=102">His example</a> is pretty simple (with a "Hello World!" output) that pulls in the background image, creates the composite layer over it, adds the text to it and sets the fill to the background image's layer. The whole this is wrapped up and output as <a href="http://valokuva.org/wp-content/uploads/2008/04/patternphp1.png">a PNG file</a>.
</p>]]></description>
      <pubDate>Tue, 29 Apr 2008 15:24:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Padraic Brady's Blog: An Example Zend Framework Blog Application - Part 1: Introductory Planning]]></title>
      <guid>http://www.phpdeveloper.org/news/10016</guid>
      <link>http://www.phpdeveloper.org/news/10016</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has kicked off a new series of blog posts with <a href="http://blog.astrumfutura.com/archives/351-An-Example-Zend-Framework-Blog-Application-Part-1-Introductory-Planning.html">part one</a> posted today - a look at the creation of a sample Zend Framework blogging application.
</p>
<blockquote>
Starting any new application is like walking into a shop and being dazzled by the displays. You want everything but finally realise you only have so much resources to spend. So you isolate the specifics you must have, and focus on those.
</blockquote>
<p>
This first part <a href="http://blog.astrumfutura.com/archives/351-An-Example-Zend-Framework-Blog-Application-Part-1-Introductory-Planning.html">focuses</a> on the planning stages of the application. He works through the features he wants the blog to have and some of the external libraries he's going to rely on (things like PHPUnit and jQuery). His goal for the series and the application is to have something he can replace his current blog with and to provide readers a step by step detail of the progress along the way.
</p>]]></description>
      <pubDate>Tue, 22 Apr 2008 13:28:44 -0500</pubDate>
    </item>
    <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[Developer Tutorials Blog: RSS feeds in PHP: 3 simple steps to PHP RSS generation]]></title>
      <guid>http://www.phpdeveloper.org/news/9985</guid>
      <link>http://www.phpdeveloper.org/news/9985</link>
      <description><![CDATA[<p>
On the Developer Tutorials blog today, there's <a href="http://www.developertutorials.com/blog/php/rss-feeds-in-php-3-simple-steps-to-php-rss-generation-121/">a new post</a> talking about the "three easy steps" to making an RSS feed for your blog:
</p>
<blockquote>
Adding an RSS feed to your site is quick and painless, and can be done with pure PHP (and some kind of data source). After the jump, 3 simple steps to building an RSS feed in php.
</blockquote>
<p>
The steps are pretty simple - figure out what content you want to serve, set up the basic RSS XML structure, and loop through your data to push it in to the template and echoed out. Some simple example code is included.
</p>]]></description>
      <pubDate>Thu, 17 Apr 2008 08:47:50 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Ian Selby's Blog: Put Your PHP App on Steroids - Optimizing with APC Cache]]></title>
      <guid>http://www.phpdeveloper.org/news/9953</guid>
      <link>http://www.phpdeveloper.org/news/9953</link>
      <description><![CDATA[<p>
In <a href="http://www.gen-x-design.com/archives/put-your-php-app-on-steroids-optimizing-with-apc-cache/">this new post</a> to his blog, <i>Ian Selby</i> talks about a method to "pump up" your web site's performance to give the most to your visitors - the <a href="http://www.php.net/apc">APC cache</a>.
</p>
<blockquote>
Nothing's cooler than writing a bad-ass site or application and watching it gain popularity and a significant user base. By the same token, nothing's more frustrating that watching your app fall on its face when its running under high load. [...] Before you say, "throw more / better hardware at that mo-fo", why not take a moment and learn about APC: Alternative PHP Cache...
</blockquote>
<p>
He <a href="http://www.gen-x-design.com/archives/put-your-php-app-on-steroids-optimizing-with-apc-cache/">describes the caching software</a> - what it is and how it can help you and your application - and includes examples using a CacheManger class to store and set values quickly and easily.
</p>]]></description>
      <pubDate>Thu, 10 Apr 2008 17:32:55 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Hasin Hayder's Blog: Working with models in orchid]]></title>
      <guid>http://www.phpdeveloper.org/news/9952</guid>
      <link>http://www.phpdeveloper.org/news/9952</link>
      <description><![CDATA[<p>
<i>Hasin Hayder</i> has <a href="http://hasin.wordpress.com/2008/04/10/working-with-models-in-orchid/">posted another in his series</a> looking at the relatively young PHP framework, <a href="http://orchidframework.net/">orchid</a>. HE digs a little deeper this time and looks at the Model functionality it has.
</p>
<blockquote>
As promised, <a href="http://orchidframework.net/">orchid</a> comes with real flexibility which lets you design your application in less time. [...] In this installment, we will learn how to achieve maximum speed and benefit by using the built-in model library of orchid with a toppings of the active record library.
</blockquote>
<p>
He shows how to connect to the database backend through the framework (along with some dos and don'ts) and how to pull this connection into the Model functionality. His example inserts information into a "comics" table and shows how to pull it back out (with a call to the find() method).
</p>]]></description>
      <pubDate>Thu, 10 Apr 2008 14:17:47 -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>
  </channel>
</rss>
