<?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>Tue, 21 May 2013 15:05:22 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPBuilder.com: Use Zend Framework Action Helpers to Reduce PHP Code Redundancy]]></title>
      <guid>http://www.phpdeveloper.org/news/15133</guid>
      <link>http://www.phpdeveloper.org/news/15133</link>
      <description><![CDATA[<p>
On PHPBuilder.com today there's <a href="http://www.phpbuilder.com/columns/zend-action-helpers/Jason_Gilmore091410.php3">a new tutorial</a> from <i>Jason Gilmore</i> about using the action helpers in the Zend Framework to help reduce the amount of redundant code spread all over your application.
</p>
<blockquote>
Embracing a framework-driven approach to Web development enhances productivity in many ways, not the least of which is the ability to stay DRY (<a href="http://en.wikipedia.org/wiki/Don%27t_repeat_yourself">Don't Repeat Yourself</a>). Eliminating the redundant reuse of code throughout a Web application will greatly improve your ability to effectively test and later refactor code, not to mention locate and diagnose the inevitable bugs that will creep into the project. [...] The Zend Framework refers to these reusable logical snippets as action helpers, and in this article I'll show you how to create, configure and execute action helpers within your Zend Framework-powered applications.
</blockquote>
<p>
He walks you through the steps of creating an action helper to create a simple one-time URL for an example application's email confirmation links. The class (WJG_Controller_Action_Helper_GenerateID) extends the abstract action controller and generates the code to append to the URL. When the code is needed, the helper can just be called directly and the string is returned for use in multiple types of emails.
</p>]]></description>
      <pubDate>Wed, 15 Sep 2010 11:49:52 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Travis Swicegood's Blog:  Quick review of Zend_Log]]></title>
      <guid>http://www.phpdeveloper.org/news/8662</guid>
      <link>http://www.phpdeveloper.org/news/8662</link>
      <description><![CDATA[<p>
<i>Travis Swicegood</i>, after having been asked to do a review of the <a href="http://framework.zend.com/manual/en/zend.log.html">Zend_Log</a> component of the Zend Framework, wrote up his report and has <a href="http://www.travisswicegood.com/index.php/2007/09/14/quick_review_of_zend_log">also posted it</a> to his blog.
</p>
<blockquote>
The short answer to is Zend_Log good (enough): yes; the long answer, no. First off, it does what it needs to do without too much fuss [...] but... It has a few fatal flaws in my opinion.
</blockquote>
<p>
While he found the simplicity of the component nice, the flaws seemed to outweigh the good. Problems like code redundancy and a simple thing like writing out to the log file isn't handled well (can't be accessed directly, only through the interface - slower in the long run?). He's included <a href="http://plumb.domain51.com/sandbox/callback/callback.phps">some tests</a> to check out the difference.
</p>]]></description>
      <pubDate>Mon, 17 Sep 2007 09:32:00 -0500</pubDate>
    </item>
  </channel>
</rss>
