<?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, 09 May 2008 15:33:23 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Padraic Brady's Blog: Zend Framework Blog Tutorial - Part 6: Zend_Form & Zend_Auth]]></title>
      <guid>http://www.phpdeveloper.org/news/10139</guid>
      <link>http://www.phpdeveloper.org/news/10139</link>
      <description><![CDATA[<p>
<i>Padraic Brady</i> has continued his series about making a sample blogging application with the Zend Framework in a new blog post, <a href="http://blog.astrumfutura.com/archives/360-Example-Zend-Framework-Blog-Application-Tutorial-Part-6-Introduction-to-Zend_Form-and-Authentication-with-Zend_Auth.html">part six</a> - a focus on Zend_Form and Zend_Auth.
</p>
<blockquote>
In the previous entry, we created a new Administration Module to hold blog management functionality, added a Module specific layout for it, and discussed the upcoming need to ensure this is only accessible by authorised Authors. In this entry I'll unravel some of Zend_Form's mysteries in adding a login form, before using Zend_Auth to implement authentication for authors.
</blockquote>
<p>
He includes the code (controller and view) to add the login form as a part of the Author functionality and, using a few decorators to help him build the form how he likes it, extends the Zend_Form component to make his form with username, password and submit elements. He throws in some validation and a bit of error checking to finish it off.
</p>]]></description>
      <pubDate>Thu, 08 May 2008 09:33:36 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Comparing Files and Databases with PHP Benchmarking Applications]]></title>
      <guid>http://www.phpdeveloper.org/news/10136</guid>
      <link>http://www.phpdeveloper.org/news/10136</link>
      <description><![CDATA[<p>
DevShed is wrapping up their series looking at benchmarking your PHP applications with <A href="http://www.devshed.com/c/a/PHP/Comparing-Files-and-Databases-with-PHP-Benchmarking-Applications/">the third part</a> - a look at comparing execution times of scripts that can either pull from a database or from a flat file.
</p>
<blockquote>
This large, complex subject offers numerous possibilities for experimentation, which means that you'll surely have tons of fun creating timing systems with PHP. [...] his article, then, will be focused on evaluating different scripts that fetch sets of records, first from a database, and then from flat files.
</blockquote>
<p>
They use the Timer class they defined in a previous part of the series and wrap it around both a database class (pulling user information from a MySQL database) and a fetch to a flat file for similar information. General exceptions are handled as a part of the resource connection class.
</p>]]></description>
      <pubDate>Thu, 08 May 2008 07:58:38 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[DevShed: Setting Up a Web-Based Image Gallery]]></title>
      <guid>http://www.phpdeveloper.org/news/10130</guid>
      <link>http://www.phpdeveloper.org/news/10130</link>
      <description><![CDATA[<p>
DevShed has started a new series off today with <a href="http://www.devshed.com/c/a/PHP/Setting-Up-a-WebBased-Image-Gallery/">this new tutorial</a>, a look at a few image galleries written in PHP and how to get them up and working on your site.
</p>
<blockquote>
In this article, we are going to tackle this subject and present some real-world applicable solutions.First of all, this article presumes that you either have a web server of your own or one that you pay for (as a web space) with the necessary server-side services already running and configured appropriately (PHP, MySQL, Apache, etc.). Second, we are going to consider free options for the applications we'll present throughout this article.
</blockquote>
<p>
The two pieces of software they look at are <a href="http://www.4homepages.de/">4images Gallery</a> and the <a href="http://coppermine-gallery.net/">Coppermine Gallery</a>. Simple installation instructions are included (more can be found in the project's documentation, though) and screenshots show some of the end results.
</p>]]></description>
      <pubDate>Wed, 07 May 2008 09:31:45 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Iterating PHP objects, and readable code too!]]></title>
      <guid>http://www.phpdeveloper.org/news/10124</guid>
      <link>http://www.phpdeveloper.org/news/10124</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has a <a href="http://www.developertutorials.com/blog/php/iterating-php-objects-spl-iterato-150/">recent post</a> that talks about manipulating objects in PHP with the help of the iterators that the Standard PHP Library has to offer.
</p>
<blockquote>
It's a generally accepted fact that more readable code is more maintainable and easier for other developers to pick up. [...] Today I'm going to take a look at object iteration, most commonly found in the Standard PHP Library, and explore using the Iterator interface to simplify looping.
</blockquote>
<p>
<a href="http://www.developertutorials.com/blog/php/iterating-php-objects-spl-iterato-150/">The main part</a> of the tutorial shows how to implement the Iterator interface of the SPL to create your own custom methods, theirs being a Database version with methodsfor rewinding, reading and getting the current record you're working with.
</p>]]></description>
      <pubDate>Tue, 06 May 2008 14:34:58 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[The Bakery: Latest Articles, Tutorials and Components]]></title>
      <guid>http://www.phpdeveloper.org/news/10122</guid>
      <link>http://www.phpdeveloper.org/news/10122</link>
      <description><![CDATA[<p>
The Bakery (the CakePHP programmer's resource) has a few new articles, tutorials and components that have been posted lately. Here's the list:
</p>
<ul>
<li><a href="http://bakery.cakephp.org/articles/view/preview-and-alter-the-sql-generated-from-model-find">Preview and alter the SQL generated from Model::find()</a>
<li><a href="http://bakery.cakephp.org/articles/view/after-3-years-looking-back-and-moving-ahead">After 3 years, looking back and moving ahead</a>
<li><a href="http://bakery.cakephp.org/articles/view/encrypted-cookie-component">Encrypted Cookie Component</a>
<li><a href="http://bakery.cakephp.org/articles/view/open-flash-chart-helper-draw-charts-the-cake-way">Open Flash Chart Helper: draw charts the Cake way</a>
<li><a href="http://bakery.cakephp.org/articles/view/maintaining-an-application-independant-code-library">Maintaining an Application-independant Code Library</a>
<li><a href="http://bakery.cakephp.org/articles/view/gallery2-api-and-cakephp-component">Rolling you own Gallery2 component</a>
<li><a href="http://bakery.cakephp.org/articles/view/darkauth-v1-3-an-auth-component">DarkAuth v1.3 - an alternative Auth</a>
<li><a href="http://bakery.cakephp.org/articles/view/easy-ajax-pagination-using-jquery">Easy AJAX Pagination Using JQuery</a>
</ul>
<p>
Be sure to check out the rest of <a href="http://bakery.cakephp.org">The Bakery</a> for more great CakePHP-related content.
</p>]]></description>
      <pubDate>Tue, 06 May 2008 12:55:44 -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[PHPEveryDay.com: New Smarty Tutorials]]></title>
      <guid>http://www.phpdeveloper.org/news/10107</guid>
      <link>http://www.phpdeveloper.org/news/10107</link>
      <description><![CDATA[<p>
The PHPEveryDay.com website has posted more tutorials recently - this time about working with Smarty.
</p>
<ul>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Template-Introduction-P607.html">Smarty Template: Introduction</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Template-Installation-P608.html">Smarty Template: Installation</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Template-My-First-Smarty-P609.html">Smarty Template: My First Smarty</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Template-Basics-That-You-Must-Know-P610.html">Smarty Template: Basics That You Must Know</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Variable-Associative-Arrays-P611.html">Smarty Variable: Associative Arrays</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Variable-Array-Index-P612.html">Smarty Variable: Array Index</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Variable-Object-P613.html">Smarty Variable: Object</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Variable-Variable-at-Configuration-File-P614.html">Smarty Variable: Variable at Configuration File</a>
<li><a href="http://www.phpeveryday.com/articles/Smarty-Variable-Reversed-Variable-P615.html">Smarty Variable: Reversed Variable</a>
</ul>
<p>
Check out <a href="http://www.phpeveryday.com">PHPEveryDay.com</a> for more great PHP articles and tutorials.
</p>]]></description>
      <pubDate>Mon, 05 May 2008 08:47:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPBuilder.com: Developing a Ajax-driven Shopping Cart with PHP and Prototype, Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/10105</guid>
      <link>http://www.phpdeveloper.org/news/10105</link>
      <description><![CDATA[<p>
PHPBuilder.com has continued their series looking at building an Ajax-driven shopping cart with <a href="http://www.phpbuilder.com/columns/jason_gilmore20080502_2.php3">part two</a> posted today (<a href="http://www.phpdeveloper.org/news/10060">part one here</a>). Last time they laid the PHP foundation for the example app, this time they add another layer - the Ajax functionality to manage the current contents of the cart.
</p>
<blockquote>
Finally, a link to the shopping cart is provided, although you could just as easily have displayed the cart contents on the same page. For the sake of brevity I'll just show you how to integrate the add feature, and will leave the subtraction mechanism to you as an exercise.
</blockquote>
<p>
The Ajax frontend calls a managecart.php backend file that calls addToCart and deleteFromCart based on which type of "task" is passed to it.
</p>]]></description>
      <pubDate>Mon, 05 May 2008 07:58:21 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Developer Tutorials Blog: Building Web 2.0 Tag Clouds in PHP]]></title>
      <guid>http://www.phpdeveloper.org/news/10100</guid>
      <link>http://www.phpdeveloper.org/news/10100</link>
      <description><![CDATA[<p>
The Developer Tutorials blog has posted <a href="http://www.developertutorials.com/blog/php/building-web-2-0-tag-clouds-in-php-165/">a tutorial</a> showing you how to set up a tag cloud for your site:
</p>
<blockquote>
Every major website seems to have a tag cloud. Users love tag clouds; they help navigate masses of content quickly and easily. [...] How do we actually build a tag cloud at application level? In this tutorial, I'll take you through putting together a full-blown, calculated web 2.0 tag cloud in PHP.
</blockquote>
<p>
They <a href="http://www.developertutorials.com/blog/php/building-web-2-0-tag-clouds-in-php-165/">start</a> at the end, with an example cloud with some sample tags ("php" being the largest, of course). The code for it is pretty simple - it looks at an array of counts, the number of times the tag is used, and builds the links with the correct font size automatically. 
</p>]]></description>
      <pubDate>Fri, 02 May 2008 13:15:27 -0500</pubDate>
    </item>
  </channel>
</rss>
