<?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: zend framework routing in models</title>
	<atom:link href="http://www.gsdesign.ro/blog/zend-framework-routing-in-models/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/</link>
	<description>Just another developer blog</description>
	<lastBuildDate>Sat, 11 Feb 2012 02:17:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Manufactured Home</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/comment-page-1/#comment-7867</link>
		<dc:creator>Manufactured Home</dc:creator>
		<pubDate>Mon, 28 Feb 2011 04:52:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=340#comment-7867</guid>
		<description>Awesome, Thanks! I was looking for this sort of thing. </description>
		<content:encoded><![CDATA[<p>Awesome, Thanks! I was looking for this sort of thing.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prefab Homes</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/comment-page-1/#comment-7859</link>
		<dc:creator>Prefab Homes</dc:creator>
		<pubDate>Sat, 12 Feb 2011 05:04:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=340#comment-7859</guid>
		<description>Damn! This could be my best crackpot idea of all time!!</description>
		<content:encoded><![CDATA[<p>Damn! This could be my best crackpot idea of all time!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prefab House</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/comment-page-1/#comment-7849</link>
		<dc:creator>Prefab House</dc:creator>
		<pubDate>Mon, 24 Jan 2011 09:05:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=340#comment-7849</guid>
		<description>Yeah,  It&#039;s a great frameworks.</description>
		<content:encoded><![CDATA[<p>Yeah,  It&#8217;s a great frameworks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Modular Homes</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/comment-page-1/#comment-7833</link>
		<dc:creator>Modular Homes</dc:creator>
		<pubDate>Fri, 07 Jan 2011 07:11:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=340#comment-7833</guid>
		<description>I like this site for more time i visit in this site!</description>
		<content:encoded><![CDATA[<p>I like this site for more time i visit in this site!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gabi Solomon</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/comment-page-1/#comment-7562</link>
		<dc:creator>Gabi Solomon</dc:creator>
		<pubDate>Tue, 26 May 2009 07:19:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=340#comment-7562</guid>
		<description>@ronny
The ideea behind having the url generation in the model is the DRY  principale ( http://en.wikipedia.org/wiki/Don%27t_repeat_yourself ).
So if you ever have to change the way you write your URLS, there is only one place in witch you have to make modifications.</description>
		<content:encoded><![CDATA[<p>@ronny<br />
The ideea behind having the url generation in the model is the DRY  principale ( <a href="http://en.wikipedia.org/wiki/Don%27t_repeat_yourself" rel="nofollow">http://en.wikipedia.org/wiki/Don%27t_repeat_yourself</a> ).<br />
So if you ever have to change the way you write your URLS, there is only one place in witch you have to make modifications.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ronny stalker</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/comment-page-1/#comment-7560</link>
		<dc:creator>ronny stalker</dc:creator>
		<pubDate>Tue, 26 May 2009 06:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=340#comment-7560</guid>
		<description>Thanks for doing these Zend Framework posts. Nice to see how others are doing it.

I have not got as far as using the router to build urls in my app, but in my opinion, its a bit worrying to see the Model having so much knowledge of the Controller.

I&#039;m still in theory-land here. But if i had this problem - i would attempt to keep the call to get the front controller instance in an action controller and, from there, ask the model to give me some values to play with.

Just my thoughts after having read the Domain-Driven Design book (by Eric Evans) re isolating the domain. 

http://books.google.co.uk/books?id=7dlaMs0SECsC&amp;dq=domain+driven+design&amp;printsec=frontcover&amp;source=bn&amp;hl=en&amp;ei=oY4bSqiRKaORjAeN-6T_DA&amp;sa=X&amp;oi=book_result&amp;ct=result&amp;resnum=4#PPA67,M1

Having said all that, you&#039;ve been putting these things in practice whereas I&#039;m still researching the theoretical , where everything seems much simpler. ;o)</description>
		<content:encoded><![CDATA[<p>Thanks for doing these Zend Framework posts. Nice to see how others are doing it.</p>
<p>I have not got as far as using the router to build urls in my app, but in my opinion, its a bit worrying to see the Model having so much knowledge of the Controller.</p>
<p>I&#8217;m still in theory-land here. But if i had this problem &#8211; i would attempt to keep the call to get the front controller instance in an action controller and, from there, ask the model to give me some values to play with.</p>
<p>Just my thoughts after having read the Domain-Driven Design book (by Eric Evans) re isolating the domain. </p>
<p><a href="http://books.google.co.uk/books?id=7dlaMs0SECsC&#038;dq=domain+driven+design&#038;printsec=frontcover&#038;source=bn&#038;hl=en&#038;ei=oY4bSqiRKaORjAeN-6T_DA&#038;sa=X&#038;oi=book_result&#038;ct=result&#038;resnum=4#PPA67,M1" rel="nofollow">http://books.google.co.uk/books?id=7dlaMs0SECsC&#038;dq=domain+driven+design&#038;printsec=frontcover&#038;source=bn&#038;hl=en&#038;ei=oY4bSqiRKaORjAeN-6T_DA&#038;sa=X&#038;oi=book_result&#038;ct=result&#038;resnum=4#PPA67,M1</a></p>
<p>Having said all that, you&#8217;ve been putting these things in practice whereas I&#8217;m still researching the theoretical , where everything seems much simpler. ;o)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jani Hartikainen</title>
		<link>http://www.gsdesign.ro/blog/zend-framework-routing-in-models/comment-page-1/#comment-7367</link>
		<dc:creator>Jani Hartikainen</dc:creator>
		<pubDate>Sun, 08 Feb 2009 22:25:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.gsdesign.ro/blog/?p=340#comment-7367</guid>
		<description>Yeah I think this is a good approach. I have used a similar way in my code as well - mostly inspired by the Django framework&#039;s get_absolute_url model function.</description>
		<content:encoded><![CDATA[<p>Yeah I think this is a good approach. I have used a similar way in my code as well &#8211; mostly inspired by the Django framework&#8217;s get_absolute_url model function.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

