<?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"
	>
<channel>
	<title>Comments on: I&#8217;m Cranky Because I&#8217;m Not Getting Enough REST</title>
	<atom:link href="http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/</link>
	<description>Running commentary about agile development, user experience design and Ajax.</description>
	<pubDate>Fri, 09 Jan 2009 09:50:43 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5.1</generator>
		<item>
		<title>By: Eric</title>
		<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/#comment-4270</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 25 Nov 2008 09:06:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1114#comment-4270</guid>
		<description>I think ultimately what bother you here is something not actually "resource", like the "hide" action. It does not make sense to make them resourceful.</description>
		<content:encoded><![CDATA[<p>I think ultimately what bother you here is something not actually &#8220;resource&#8221;, like the &#8220;hide&#8221; action. It does not make sense to make them resourceful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pathfinder Development &#187; A Look Back At Past Post</title>
		<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/#comment-3506</link>
		<dc:creator>Pathfinder Development &#187; A Look Back At Past Post</dc:creator>
		<pubDate>Fri, 03 Oct 2008 16:10:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1114#comment-3506</guid>
		<description>[...] REST [...]</description>
		<content:encoded><![CDATA[<p>[...] REST [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: masone</title>
		<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/#comment-3184</link>
		<dc:creator>masone</dc:creator>
		<pubDate>Tue, 26 Aug 2008 07:06:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1114#comment-3184</guid>
		<description>I also think that Javascripts currently have no defined place in Rails. I recently was kind of annoyed by that fact. Why can't we handle js.erb templates like we are using html templates?

My solution was a quick plugin which automatically includes the template in the file controller/action.js.erb (if existing). It's nice because everything has a defined place, you can parse erb in your Javascript files and content and Javascript code are separated.

This does not solve all problems but maybe it helps you too? :)

http://github.com/masone/js.erb-auto-include-plugin/tree/master</description>
		<content:encoded><![CDATA[<p>I also think that Javascripts currently have no defined place in Rails. I recently was kind of annoyed by that fact. Why can&#8217;t we handle js.erb templates like we are using html templates?</p>
<p>My solution was a quick plugin which automatically includes the template in the file controller/action.js.erb (if existing). It&#8217;s nice because everything has a defined place, you can parse erb in your Javascript files and content and Javascript code are separated.</p>
<p>This does not solve all problems but maybe it helps you too? <img src='http://www.pathf.com/blogs/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://github.com/masone/js.erb-auto-include-plugin/tree/master" rel="nofollow">http://github.com/masone/js.erb-auto-include-plugin/tree/master</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Keenan Brock</title>
		<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/#comment-3179</link>
		<dc:creator>Keenan Brock</dc:creator>
		<pubDate>Mon, 25 Aug 2008 23:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1114#comment-3179</guid>
		<description>You touched on a key point here. Rest is about accessibg resources. It isn't about a granular client.

A word processor needs a document service to crud a document. But the front end does more stuff like spell checking. That is a client task not a document service thing.

So when you have a webapp and the client functionality is running on the server, things get confusing.

So separating the document restful service from the application/client/wordprocessor sounds great.

For some reason I was expecting to see flames though</description>
		<content:encoded><![CDATA[<p>You touched on a key point here. Rest is about accessibg resources. It isn&#8217;t about a granular client.</p>
<p>A word processor needs a document service to crud a document. But the front end does more stuff like spell checking. That is a client task not a document service thing.</p>
<p>So when you have a webapp and the client functionality is running on the server, things get confusing.</p>
<p>So separating the document restful service from the application/client/wordprocessor sounds great.</p>
<p>For some reason I was expecting to see flames though</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seban</title>
		<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/#comment-3125</link>
		<dc:creator>Seban</dc:creator>
		<pubDate>Sat, 23 Aug 2008 08:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1114#comment-3125</guid>
		<description>I write my first RESTful project right now, but I don't have problem descibed by you. I think this is not bad what you do. Probobly I will do the same.</description>
		<content:encoded><![CDATA[<p>I write my first RESTful project right now, but I don&#8217;t have problem descibed by you. I think this is not bad what you do. Probobly I will do the same.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonny</title>
		<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/#comment-3114</link>
		<dc:creator>Jonny</dc:creator>
		<pubDate>Sat, 23 Aug 2008 00:11:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1114#comment-3114</guid>
		<description>What are your ajaxy things accessing when they make a call to the server?  The way that I understand it, it would be fine to put all of those things on a page template without being unrestful.  The point would be that you make them access the right resource when they do something on the server.  Basically when you're rendering your "index with a bunch of other stuff" page, you would consider those ajaxy things as just random html tags.  Put them into a helper if the same thing will show up in a lot of different places.  The restful part comes in when they actually do the ajaxy stuff, not when they are rendered.

Maybe it helps to think of a search box as just a more complicated link.  If I'm on controller foo/index and I put a link to bar/index, that's not being unrestful by any stretch of the imagination.

Does that make sense?  I'm new to rest, so I'm still trying to think through a lot of these issues too.</description>
		<content:encoded><![CDATA[<p>What are your ajaxy things accessing when they make a call to the server?  The way that I understand it, it would be fine to put all of those things on a page template without being unrestful.  The point would be that you make them access the right resource when they do something on the server.  Basically when you&#8217;re rendering your &#8220;index with a bunch of other stuff&#8221; page, you would consider those ajaxy things as just random html tags.  Put them into a helper if the same thing will show up in a lot of different places.  The restful part comes in when they actually do the ajaxy stuff, not when they are rendered.</p>
<p>Maybe it helps to think of a search box as just a more complicated link.  If I&#8217;m on controller foo/index and I put a link to bar/index, that&#8217;s not being unrestful by any stretch of the imagination.</p>
<p>Does that make sense?  I&#8217;m new to rest, so I&#8217;m still trying to think through a lot of these issues too.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam</title>
		<link>http://www.pathf.com/blogs/2008/08/im-cranky-because-im-not-getting-enough-rest/#comment-3111</link>
		<dc:creator>Adam</dc:creator>
		<pubDate>Fri, 22 Aug 2008 21:16:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=1114#comment-3111</guid>
		<description>I don't have any real earth shattering revelation but I've always thought of it as dMVC (distributed MVC). That is, treat your RESTful data source(s) as nothing more than a model. Your HTML &#38; most of the JavaScript is your View. The AJAX library is the controller (and there is some JavaScript that handles something like routing).

I'm not sure how that helps, but that's how I do it.</description>
		<content:encoded><![CDATA[<p>I don&#8217;t have any real earth shattering revelation but I&#8217;ve always thought of it as dMVC (distributed MVC). That is, treat your RESTful data source(s) as nothing more than a model. Your HTML &amp; most of the JavaScript is your View. The AJAX library is the controller (and there is some JavaScript that handles something like routing).</p>
<p>I&#8217;m not sure how that helps, but that&#8217;s how I do it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
