<?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: REST: I don&#8217;t quite get it</title>
	<atom:link href="http://info-architects.net/2007/08/10/rest-i-dont-quite-get-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://info-architects.net/2007/08/10/rest-i-dont-quite-get-it/</link>
	<description>Toby Hede's Blog on Ruby, Rails, Facebook Development, User Experience and Stuff</description>
	<lastBuildDate>Wed, 20 Aug 2008 15:31:08 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Toby Hede</title>
		<link>http://info-architects.net/2007/08/10/rest-i-dont-quite-get-it/comment-page-1/#comment-27</link>
		<dc:creator>Toby Hede</dc:creator>
		<pubDate>Mon, 13 Aug 2007 11:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://info-architects.net/2007/08/10/rest-i-dont-quite-get-it/#comment-27</guid>
		<description>I understand the theory (I&#039;ve actually read Fielding&#039;s work) and I am using, it just feels that I am bending my application in some ways to get it working right.

And hey, I&#039;ve lived through several of these movements. A few years ago everything was in SOAP and RPC was the future.

That said, I think REST is much better architecturally ... just be awesome if we didn&#039;t have to resort to hacks.</description>
		<content:encoded><![CDATA[<p>I understand the theory (I&#8217;ve actually read Fielding&#8217;s work) and I am using, it just feels that I am bending my application in some ways to get it working right.</p>
<p>And hey, I&#8217;ve lived through several of these movements. A few years ago everything was in SOAP and RPC was the future.</p>
<p>That said, I think REST is much better architecturally &#8230; just be awesome if we didn&#8217;t have to resort to hacks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: craigmcc</title>
		<link>http://info-architects.net/2007/08/10/rest-i-dont-quite-get-it/comment-page-1/#comment-28</link>
		<dc:creator>craigmcc</dc:creator>
		<pubDate>Mon, 13 Aug 2007 05:58:42 +0000</pubDate>
		<guid isPermaLink="false">http://info-architects.net/2007/08/10/rest-i-dont-quite-get-it/#comment-28</guid>
		<description>It is too bad that you are confusing implementation details (current browers do not support PUT and DELETE, so *any* RESTful framework that wants to support REST have to do yucky things under the covers.

The most important concept you need to understand in order to &quot;get&quot; REST (heh :-) is the idea that URIs should be nouns, not verbs.  Next most important:

* GET must be idempotent ... no side effects from issuing the same GET
  more than once

* GET requests with appropriate headers can leverage the fact that
  the WWW knows how to cache things for the right amount of time.

* RESTful URIs are bookmarkable -- the typical framework based URI is not.

* Even though a browser doesn&#039;t know natively how to do PUT and DELETE,
  your application can certainly do that via appropriate XMLHttpRequest calls.

* And, by the way, Flash/Flex/JavaFX/whatever clients can use your same
  back end with no problems if you provide RESTful APIs for your services,
  instead of just focusing on HTML representations for humans sitting
  behind a browser.  Rails makes it particularly easy to accomodate this
  use case (google for &quot;respond_to&quot;) but it is by no means specific to
  this particular framework.</description>
		<content:encoded><![CDATA[<p>It is too bad that you are confusing implementation details (current browers do not support PUT and DELETE, so *any* RESTful framework that wants to support REST have to do yucky things under the covers.</p>
<p>The most important concept you need to understand in order to &#8220;get&#8221; REST (heh <img src='http://info-architects.net/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' />  is the idea that URIs should be nouns, not verbs.  Next most important:</p>
<p>* GET must be idempotent &#8230; no side effects from issuing the same GET<br />
  more than once</p>
<p>* GET requests with appropriate headers can leverage the fact that<br />
  the WWW knows how to cache things for the right amount of time.</p>
<p>* RESTful URIs are bookmarkable &#8212; the typical framework based URI is not.</p>
<p>* Even though a browser doesn&#8217;t know natively how to do PUT and DELETE,<br />
  your application can certainly do that via appropriate XMLHttpRequest calls.</p>
<p>* And, by the way, Flash/Flex/JavaFX/whatever clients can use your same<br />
  back end with no problems if you provide RESTful APIs for your services,<br />
  instead of just focusing on HTML representations for humans sitting<br />
  behind a browser.  Rails makes it particularly easy to accomodate this<br />
  use case (google for &#8220;respond_to&#8221;) but it is by no means specific to<br />
  this particular framework.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

