<?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, 24 May 2013 07:47:44 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[Federico Cargnelutti's Blog: An Alternative to Zend_Controller: The Model]]></title>
      <guid>http://www.phpdeveloper.org/news/12334</guid>
      <link>http://www.phpdeveloper.org/news/12334</link>
      <description><![CDATA[<p>
<i>Federico Cargnelutti</i> has <a href="http://blog.fedecarg.com/2009/04/13/an-alternative-to-zend_controller-the-model/">posted the third part</a> of his series looking at his alternative to the normal Zend_Controller in Zend Framework applications - Zf_Controller. This article focuses on its interface with the model.
</p>
<blockquote>
The domain layer is separated from the other layers and has no dependencies on Zf_Controller. Adding the domain directory to your include path allows you to load and access Model classes from anywhere within your project.
</blockquote>
<p>
His code examples show an IndexController extending the Zf_Controller and how a Model can be called from inside it through a getInstance (as long as the model directory is in your path). You can take a look at <a href="http://blog.fedecarg.com/2009/04/07/an-alternative-to-zend_controller-introduction/">part one</a> and <a href="http://blog.fedecarg.com/2009/04/08/an-alternative-to-zend_controller-the-router/">part two</a> for more information on this alternative component.
</p>]]></description>
      <pubDate>Tue, 14 Apr 2009 08:48:46 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Federico Cargnelutti's Blog: An Alternative to Zend_Controller: The Router]]></title>
      <guid>http://www.phpdeveloper.org/news/12310</guid>
      <link>http://www.phpdeveloper.org/news/12310</link>
      <description><![CDATA[<p>
<i>Federico</i> has continued his look at his alternative to the Zend_Controller component of the <a href="http://framework.zend.com">Zend Framework</a> - Zf_Controller in <a href="http://blog.fedecarg.com/2009/04/08/an-alternative-to-zend_controller-the-router/">this new part of the series</a> focusing on routing.
</p>
<blockquote>
Here's the good news: Zf_Controller doesn't have a Router. It uses a very simple mapping to determine the name of the controller and action.
</blockquote>
<p>
He gives an example of the "non-routing" and how to work with the input variables for the controller instance - defining default values and setting requirements for them (as defined by matching a regular expression).
</p>
<p>
You can read more about the first part of the series <a href="http://www.phpdeveloper.org/news/12303">here</a>.
</p>]]></description>
      <pubDate>Thu, 09 Apr 2009 08:44:44 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Federico Cargnelutti's Blog: An Alternative to Zend_Controller: Introduction]]></title>
      <guid>http://www.phpdeveloper.org/news/12303</guid>
      <link>http://www.phpdeveloper.org/news/12303</link>
      <description><![CDATA[<p>
<i>Federico Cargnelutti</i> has <a href="http://blog.fedecarg.com/2009/04/07/an-alternative-to-zend_controller-introduction/">made a new post</a> about an alternative Zend Framework developers can user instead of the normal Zend_Controller - his Zf_Controller.
</p>
<blockquote>
Zend Framework is very flexible and one of its strengths is that it allows developers to implement their own components. The Zend_Controller component, for example, is very powerful. Of course, it's not my intention to replace it, but to offer an alternative that decreases the number of decisions a developer needs to make when developing an application. Meet Zf_Controller. 
</blockquote>
<p>
His controller allows for better backwards compatibility, better performance, removes the need for circular references and drops the need for Singleton classes. He includes an example of the updated directory structure the class would use, a bootstrap comparing with/without the new class and the rest of the scripts needed for a sample application (view, layout, error controller, etc).
</p>]]></description>
      <pubDate>Wed, 08 Apr 2009 13:43:47 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[PHPImpact Blog: Improving the performance of Zend_Controller]]></title>
      <guid>http://www.phpdeveloper.org/news/10606</guid>
      <link>http://www.phpdeveloper.org/news/10606</link>
      <description><![CDATA[<p>
The PHP::Impact blog has a <a href="http://phpimpact.wordpress.com/2008/07/15/improving-the-performance-of-zend_controller/">quick performance tip</a> posted today for all of the Zend Framework-ers out there that are seeing some poor performance with their Zend_Controllers.
</p>
<blockquote>
Zend_Controller_Front gets an instance of Zend_Controller_Router_Rewrite, routes the request, iterates through all the provided routes and matches its definitions to the current request URI. The problem with this is that the more routes you add, the more time the router will take to find a positive match.
</blockquote>
<p>
<i>Federico</i> includes a few benchmarking stats to back this up ranging from four routes up to forty. His solution is to place the routes in different files and set the location with a Zend_Config_Ini object. This makes the controller only load the ones that are needed instead of pulling all forty into memory to have to parse through.
</p>]]></description>
      <pubDate>Tue, 15 Jul 2008 09:32:23 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Stefan Mischook's Blog: Zend Framework Video Tutorials]]></title>
      <guid>http://www.phpdeveloper.org/news/9768</guid>
      <link>http://www.phpdeveloper.org/news/9768</link>
      <description><![CDATA[<p>
<i>Stefan Mischook</i> has <a href="http://www.killerphp.com/articles/zend-framework-video-tutorials/">pointed out</a> a new section of the video tutorial portion of the site that's strictly devoted to help using the <a href="http://framework.zend.com".Zend Framework</a>.
</p>
<blockquote>
I just launched a new section on Killerphp.com on the Zend Framework. I figured it only made sense, given that we've built two live web applications based on it.
</blockquote>
<p>
Videos that have already been posted to the section include setup videos part <a href="http://www.killerphp.com/zend-framework/videos/zend-development-part-1.php">one</a> and <a href="http://www.killerphp.com/zend-framework/videos/zend-development-part-2.php">two</a> as well as a look at working with the <a href="http://www.killerphp.com/zend-framework/videos/zend-controller-zend-view.php">Zend_Controller and Zend_View</a> components.
</p>]]></description>
      <pubDate>Mon, 10 Mar 2008 12:09:00 -0500</pubDate>
    </item>
    <item>
      <title><![CDATA[Alexander Netkachev's Blog: Zend_Controller classes]]></title>
      <guid>http://www.phpdeveloper.org/news/7116</guid>
      <link>http://www.phpdeveloper.org/news/7116</link>
      <description><![CDATA[<p>
On his blog today, <i>Alexander Netkachev</i> has <a href="http://www.alexatnet.com/Blog/Index/2007-01-18/zend_controller-classes">charted out</a> some of the new functionality in the latest version (0.6.0) of the Zend Framework as pertaining to improvements in the Zend_Controller.
</p>
<blockquote>
Zend Framework 0.6.0 release comes with improvements in Zend_Controller area (new Zend_Controller_Request, Zend_Controller_Response classes, dispatch process improvements), which looks very promising. Dispatching process now better described and its parts (Zend_Controller_Router and Zend_Controller_Dispatcher) are replaceable.
</blockquote>
<p>
He <a href="http://www.alexatnet.com/Blog/Index/2007-01-18/zend_controller-classes">also includes</a> a <a href="http://www.alexatnet.com/files/object/66/Zend_Controller.png">diagram of how it's all laid out</a> and a brief description of how each of these new pieces works.
</p>]]></description>
      <pubDate>Thu, 18 Jan 2007 07:06:25 -0600</pubDate>
    </item>
  </channel>
</rss>
