<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Intro to Zend Framework Routing</title>
	<atom:link href="http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/</link>
	<description>... a little piece of my mind.</description>
	<lastBuildDate>Tue, 17 Jan 2012 18:59:53 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Andrew Vayanis</title>
		<link>http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/#comment-79</link>
		<dc:creator>Andrew Vayanis</dc:creator>
		<pubDate>Thu, 22 Apr 2010 14:28:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/?p=32#comment-79</guid>
		<description>@Danny - Sorry, not sure if that was a question or not.</description>
		<content:encoded><![CDATA[<p>@Danny &#8211; Sorry, not sure if that was a question or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Danny Harding</title>
		<link>http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/#comment-78</link>
		<dc:creator>Danny Harding</dc:creator>
		<pubDate>Sun, 11 Apr 2010 23:18:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/?p=32#comment-78</guid>
		<description>Hi,

resources.router.routes.suppliers.type = &quot;Zend_Controller_Router_Route_Static&quot;
resources.router.routes.suppliers.route = &quot;suppliers&quot;
resources.router.routes.suppliers.defaults.controller = &quot;business&quot;
resources.router.routes.suppliers.defaults.action = &quot;index&quot;</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>resources.router.routes.suppliers.type = &#8220;Zend_Controller_Router_Route_Static&#8221;<br />
resources.router.routes.suppliers.route = &#8220;suppliers&#8221;<br />
resources.router.routes.suppliers.defaults.controller = &#8220;business&#8221;<br />
resources.router.routes.suppliers.defaults.action = &#8220;index&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terrahawk</title>
		<link>http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/#comment-77</link>
		<dc:creator>Terrahawk</dc:creator>
		<pubDate>Fri, 30 Oct 2009 18:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/?p=32#comment-77</guid>
		<description>Thank you very much for the solution. Had never seen a working code before. 6 hours on Google was very depressing. Thanks again. Greetings from Germany P.s. Sry for my horrible english :)</description>
		<content:encoded><![CDATA[<p>Thank you very much for the solution. Had never seen a working code before. 6 hours on Google was very depressing. Thanks again. Greetings from Germany P.s. Sry for my horrible english <img src='http://www.vayanis.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Vayanis</title>
		<link>http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/#comment-76</link>
		<dc:creator>Andrew Vayanis</dc:creator>
		<pubDate>Fri, 23 Oct 2009 05:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/?p=32#comment-76</guid>
		<description>@TERRAHAWK - This post was created prior to the 1.8 version of the framework.  As of 1.8 on, the Bootstrap.php requires initialization as you pointed out.  I will update this post to reflect that.</description>
		<content:encoded><![CDATA[<p>@TERRAHAWK &#8211; This post was created prior to the 1.8 version of the framework.  As of 1.8 on, the Bootstrap.php requires initialization as you pointed out.  I will update this post to reflect that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Terrahawk</title>
		<link>http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/#comment-75</link>
		<dc:creator>Terrahawk</dc:creator>
		<pubDate>Fri, 16 Oct 2009 07:20:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/?p=32#comment-75</guid>
		<description>This solution don&#039;t work?! I had try this:

        protected function _initRoutes() {

            $front = Zend_Controller_Front::getInstance();
            $router = $front-&gt;getRouter();

            $router = $front-&gt;getRouter();
            $router-&gt;addConfig(new Zend_Config_Ini(APPLICATION_PATH . &#039;/configs/routes.ini&#039;));

        }

ini:
[production]
routes.news.route = &quot;news/:id:title&quot;
routes.news.defaults.controller = &quot;news&quot;
routes.news.defaults.action = &quot;index&quot;</description>
		<content:encoded><![CDATA[<p>This solution don&#8217;t work?! I had try this:</p>
<p>        protected function _initRoutes() {</p>
<p>            $front = Zend_Controller_Front::getInstance();<br />
            $router = $front-&gt;getRouter();</p>
<p>            $router = $front-&gt;getRouter();<br />
            $router-&gt;addConfig(new Zend_Config_Ini(APPLICATION_PATH . &#8216;/configs/routes.ini&#8217;));</p>
<p>        }</p>
<p>ini:<br />
[production]<br />
routes.news.route = &#8220;news/:id:title&#8221;<br />
routes.news.defaults.controller = &#8220;news&#8221;<br />
routes.news.defaults.action = &#8220;index&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gregg</title>
		<link>http://www.vayanis.com/2009/03/20/intro-to-zend-framework-routing/#comment-74</link>
		<dc:creator>Gregg</dc:creator>
		<pubDate>Thu, 16 Apr 2009 03:44:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.vayanis.com/?p=32#comment-74</guid>
		<description>First simple and succinct article out there. For those of you following the Zend Quickstart, this little tidbit of code below is best placed in the bootstrap

// Get Front Controller Instance
// this should already be done at some point in the bootstrap
// $front = Zend_Controller_Front::getInstance();

// Get Router
$router = $front-&gt;getRouter();
$router-&gt;addConfig(new Zend_Config_Ini(&#039;path/to/route/config/file&#039;, &#039;production&#039;), &#039;routes&#039;);

//add $router to the unset() at the end to clean up</description>
		<content:encoded><![CDATA[<p>First simple and succinct article out there. For those of you following the Zend Quickstart, this little tidbit of code below is best placed in the bootstrap</p>
<p>// Get Front Controller Instance<br />
// this should already be done at some point in the bootstrap<br />
// $front = Zend_Controller_Front::getInstance();</p>
<p>// Get Router<br />
$router = $front-&gt;getRouter();<br />
$router-&gt;addConfig(new Zend_Config_Ini(&#8216;path/to/route/config/file&#8217;, &#8216;production&#8217;), &#8216;routes&#8217;);</p>
<p>//add $router to the unset() at the end to clean up</p>
]]></content:encoded>
	</item>
</channel>
</rss>

