<?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>Mon, 20 May 2013 22:50:26 -0500</pubDate>
    <ttl>30</ttl>
    <item>
      <title><![CDATA[PHPImpact Blog: Zend Framework: Encapsulating routes into modules]]></title>
      <guid>http://www.phpdeveloper.org/news/10757</guid>
      <link>http://www.phpdeveloper.org/news/10757</link>
      <description><![CDATA[<p>
On the PHP::Impact blog, <i>Federico Cargnelutti</i> has <a href="http://phpimpact.wordpress.com/2008/08/03/zend-framework-encapsulating-routes-into-modules/">another helpful tip</a> to use in Zend Framework applications - encapsulating routes into modules.
</p>
<blockquote>
You can encapsulate routes into modules by <a href="http://phpimpact.wordpress.com/2008/07/15/improving-the-performance-of-zend_controller/">splitting the routes</a> into different files and extending the Zend_Controller_Router_Rewrite class. But, what if you want to use the <a href="http://framework.zend.com/manual/en/zend.controller.actionhelpers.html#zend.controller.actionhelpers.redirector">Redirector helper</a> to set a URL based on a registered route?
</blockquote>
<p>
His method creates the routing instance and overwrites the default getRoute method with a custom one in the extending class.
</p>]]></description>
      <pubDate>Mon, 04 Aug 2008 13:47:35 -0500</pubDate>
    </item>
  </channel>
</rss>
