<?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>Thu, 23 May 2013 11:14:52 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[DZone.com: The Wheel: Symfony Console]]></title>
      <guid>http://www.phpdeveloper.org/news/19307</guid>
      <link>http://www.phpdeveloper.org/news/19307</link>
      <description><![CDATA[<p>
In <a href="http://css.dzone.com/articles/wheel-symfony-console">this new post</a> to DZone.com, <i>Giorgio Sironi</i> kicks off a series that looks at reusable components in the PHP development world. In this first post of that series he looks at the <a href="http://symfony.com/doc/current/components/console/introduction.html">Symfony console component </a>.
</p>
<blockquote>
Symfony is one of the most popular open source PHP frameworks on the market. The Symfony Components, however, are loosely coupled projects that can be reused as a library outside of an application based on Symfony. The component this article explores is Console (symfony/console on Packagist and GitHub), dedicated to quickly build console applications.
</blockquote>
<p>
He goes on to talk about some of the "pros" of using the component (including built-in argument/input handing and multiple "commands") and some of the "cons" of is use (including its size and some of the built-in features you can't really work around).
</p>]]></description>
      <pubDate>Wed, 13 Mar 2013 11:22:31 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Chris Hartjes' Blog: Creating Usable Forms With Zend Framework]]></title>
      <guid>http://www.phpdeveloper.org/news/13927</guid>
      <link>http://www.phpdeveloper.org/news/13927</link>
      <description><![CDATA[<p>
<i>Chris Hartjes</i> has <a href="http://www.littlehart.net/atthekeyboard/2010/01/27/creating-usable-forms-with-zend-framework">a new post</a> to his blog today looking at how to make forms in a Zend Framework application in a bit more reusable fashion.
</p>
<blockquote>
After searching around online for some examples of building simple forms, I was dismayed to discover there were two different ways of building the form. I could (a) do it the long way and create specific instances of the form elements using Zend_Form_Element_X or (b) do it the short way and add them to the form by use of <a href="http://framework.zend.com/apidoc/1.9/Zend_Form/Zend_Form.html#addElement">Zend_Form::addElement()</a> and pass it the type of form element I want via an array. For reasons I cannot explain initially, I decided to do things the long way. Later on, I found out that doing it this way saved me from rewriting. 
</blockquote>
<p>
He includes the code for his sample form that lives in a file outside the controller so he could use it for both the "add" and "edit" actions. He shows how to plug that into the controllers, the views to show the end result and a few decorators to get rid of the default form formatting and customize it how he needed.
</p>]]></description>
      <pubDate>Thu, 28 Jan 2010 10:48:16 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[DevCentral Blog: Why Is Reusable Code So Hard to Secure?]]></title>
      <guid>http://www.phpdeveloper.org/news/13804</guid>
      <link>http://www.phpdeveloper.org/news/13804</link>
      <description><![CDATA[<p>
In <a href="http://devcentral.f5.com/weblogs/macvittie/archive/2010/01/07/why-is-reusable-code-so-hard-to-secure.aspx">this recent post</a> to the DevCentral blog (from f5.com) they ask why reusable code, one of the foundations of good development (especially in PHP) is so hard to secure.
</p>
<blockquote>
Being an efficient developer often means abstracting functionality such that a single function can be applied to a variety of uses across an application. Even as this decreases risk of errors, time to develop, and the attack surface necessary to secure the application it also makes implementing security more difficult. 
</blockquote>
<p>
The article talks about a project the author was working on and how, when he came across a need for a component and found one that worked, they were surprised to see how difficult it would be to secure it without adding on extra code bloat. He describes some of the issue and talks about how the development of the component must not have included any thought into things like input validation or filtering. One suggestion is to employ a firewall to sit in front of the entire application and handle all of these things without changes to the code.
</p>]]></description>
      <pubDate>Fri, 08 Jan 2010 10:28:42 -0600</pubDate>
    </item>
    <item>
      <title><![CDATA[Mike Willbanks' Blog: E-Commerce Framework Part 2]]></title>
      <guid>http://www.phpdeveloper.org/news/8383</guid>
      <link>http://www.phpdeveloper.org/news/8383</link>
      <description><![CDATA[<p>
Following up from a <a href="http://www.phpdeveloper.org/news/8352">previous entry</a>, <i>Mike Willbanks</i> has posted <a href="http://blog.digitalstruct.com/2007/08/02/e-commerce-framework-part-2/">some clarifications</a> on points previously made and the highlights on what he thinks a good framework should entail.
</p>
<blockquote>
I decided to clarify and also explain some of my thoughts and ideas that an e-commerce framework should hold. These thoughts and ideas may be a little rough around the edges but I wanted to give a definition to the meaning of what I feel a framework is in this case as well as items that would potentially be a part of this framework.
</blockquote>
<p>
Some of his requirements are things like reusable design, useful/easy to use components, functionality for both payment processing and courier handling as well as a catalog system to help manage items.
</p>]]></description>
      <pubDate>Fri, 03 Aug 2007 08:44:00 -0500</pubDate>
    </item>
  </channel>
</rss>
