<?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>Wed, 10 Mar 2010 20:57:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<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&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" rel="nofollow">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</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>
