<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-11933937.post7247286113451417103..comments</id><updated>2011-11-28T00:20:23.279-06:00</updated><category term='pattern'/><category term='.net'/><category term='agile'/><category term='mysql'/><category term='ruby/rails'/><category term='humor'/><category term='efficiency'/><title type='text'>Comments on STEPHEN CHU . com: Seeing Rails Resources Clearly</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://www.stephenchu.com/feeds/7247286113451417103/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html'/><author><name>Stephen Chu</name><uri>http://www.blogger.com/profile/07181510921622947661</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-11933937.post-6927569977339947301</id><published>2011-11-28T00:20:23.279-06:00</published><updated>2011-11-28T00:20:23.279-06:00</updated><title type='text'>Thanks for this article.  I was confused about nes...</title><content type='html'>Thanks for this article.  I was confused about nesting resources and about resource routing but this helped me a ton.  Thanks again man.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/6927569977339947301'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/6927569977339947301'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1322461223279#c6927569977339947301' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-82529607'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-1725280557569516573</id><published>2011-08-13T01:17:34.532-05:00</published><updated>2011-08-13T01:17:34.532-05:00</updated><title type='text'>Thanks Stephen this was really helpful!</title><content type='html'>Thanks Stephen this was really helpful!</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/1725280557569516573'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/1725280557569516573'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1313216254532#c1725280557569516573' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1645696766'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-5603726590121208281</id><published>2010-02-12T14:34:50.122-06:00</published><updated>2010-02-12T14:34:50.122-06:00</updated><title type='text'>I don&amp;#39;t agree. If you do have domain concepts ...</title><content type='html'>I don&amp;#39;t agree. If you do have domain concepts that are completely different beasts but with a same name (your dessert example, or a more common case in the insurance world - endorsement), then it is time to sit down to flush out exactly what these domain concepts should be called to avoid communication confusion. They represent different things, and thus one can do different (rails) actions to them. For example, you &amp;quot;eat&amp;quot; a food item, but you can never do the same to an army.&lt;br /&gt;&lt;br /&gt;How you distinguish the different resources is up for discussion, but for sure combining them into a single &amp;quot;desserts_controller&amp;quot; is bad from an API point of view. You would probably call me names if I expose an API on an &amp;quot;attributes_controller&amp;quot; on which it has numerous in-coherent actions you can call.&lt;br /&gt;&lt;br /&gt;The gist of this article is not about creating a new controller for anything one can name, but to use the opportunity of naming things correctly to achieve a coherent and meaningful design on the web. I can build you a web app using 5 classes versus 5,000 classes - just choose wisely.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/5603726590121208281'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/5603726590121208281'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1266006890122#c5603726590121208281' title=''/><author><name>Stephen Chu</name><uri>http://www.blogger.com/profile/07181510921622947661</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-3841993'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-2427174209771892255</id><published>2010-02-09T19:52:09.867-06:00</published><updated>2010-02-09T19:52:09.867-06:00</updated><title type='text'>Informative article. I liked your idea about break...</title><content type='html'>Informative article. I liked your idea about breaking off a column in to its own controller at first, but the pessimist in me jumped out. What if the resource (table column) is named desert (as in the final course of your dinner), and you have  DesertController which handles user desertions (as in, deserting your post). Now you have name conflicts that  the only way you will get to solve is by changing the field name, or the controller name, or namespacing. At that point, meal_desert_controller  your UserDesertController don&amp;#39;t have that nice of a ring to them :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/2427174209771892255'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/2427174209771892255'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1265766729867#c2427174209771892255' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-643381802'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-2861316328264762471</id><published>2009-06-30T14:20:47.221-05:00</published><updated>2009-06-30T14:20:47.221-05:00</updated><title type='text'></title><content type='html'>This comment has been removed by the author.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/2861316328264762471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/2861316328264762471'/><author><name>Daniel Rosenstark</name><uri>http://www.blogger.com/profile/12477764482153529031</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.contentRemoved' value='true'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-373639097'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-240957585845489243</id><published>2009-01-20T15:59:00.000-06:00</published><updated>2009-01-20T15:59:00.000-06:00</updated><title type='text'>Thanks Stephen!&lt;br&gt;&lt;br&gt;Your post was a great help ...</title><content type='html'>Thanks Stephen!&lt;BR/&gt;&lt;BR/&gt;Your post was a great help in understanding routes and REST</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/240957585845489243'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/240957585845489243'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1232488740000#c240957585845489243' title=''/><author><name>zan</name><uri>http://www.blogger.com/profile/17567616642748520597</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1517262238'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-3382361690785879318</id><published>2007-12-05T07:30:00.000-06:00</published><updated>2007-12-05T07:30:00.000-06:00</updated><title type='text'>Functional tests would really help create more und...</title><content type='html'>Functional tests would really help create more understanding in a test first agile world.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/3382361690785879318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/3382361690785879318'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1196861400000#c3382361690785879318' title=''/><author><name>Anonymous</name><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-223115834'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-3261558777592320991</id><published>2007-11-30T12:52:00.000-06:00</published><updated>2007-11-30T12:52:00.000-06:00</updated><title type='text'>Thanks for the useful articles, man.&lt;br&gt;Btw, this ...</title><content type='html'>Thanks for the useful articles, man.&lt;BR/&gt;Btw, this is Bigi.&lt;BR/&gt;&lt;BR/&gt;I guess I am still considered a newbie at Rails, so I find your stuff quite helpful in my learning.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/3261558777592320991'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/3261558777592320991'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1196448720000#c3261558777592320991' title=''/><author><name>agum</name><uri>http://www.blogger.com/profile/06000291540662010442</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1285163721'/></entry><entry><id>tag:blogger.com,1999:blog-11933937.post-2893218513197372259</id><published>2007-11-16T02:53:00.000-06:00</published><updated>2007-11-16T02:53:00.000-06:00</updated><title type='text'>I'm just starting to understand REST-fulness and t...</title><content type='html'>I'm just starting to understand REST-fulness and this really helped. Thanks :)</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/2893218513197372259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/11933937/7247286113451417103/comments/default/2893218513197372259'/><link rel='alternate' type='text/html' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html?showComment=1195203180000#c2893218513197372259' title=''/><author><name>Chris</name><uri>http://www.blogger.com/profile/03954323848857111009</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://www.stephenchu.com/2007/11/seeing-rails-resources-clearly.html' ref='tag:blogger.com,1999:blog-11933937.post-7247286113451417103' source='http://www.blogger.com/feeds/11933937/posts/default/7247286113451417103' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-743860147'/></entry></feed>
