<?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: Who GETs REST?</title>
	<atom:link href="http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/</link>
	<description></description>
	<pubDate>Sun, 20 Jul 2008 21:04:59 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: cbmeeks</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-334809</link>
		<dc:creator>cbmeeks</dc:creator>
		<pubDate>Mon, 13 Aug 2007 17:20:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-334809</guid>
		<description>Strike what I said back in May.

I've spent the last couple of months getting a much better understanding of REST.  

And delicious uses a REST-RPC hybrid anyway.  :-)
http://www.signaldev.com</description>
		<content:encoded><![CDATA[<p>Strike what I said back in May.</p>
<p>I&#8217;ve spent the last couple of months getting a much better understanding of REST.  </p>
<p>And delicious uses a REST-RPC hybrid anyway.  :-)<br />
<a href="http://www.signaldev.com" rel="nofollow">http://www.signaldev.com</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: cbmeeks</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-258261</link>
		<dc:creator>cbmeeks</dc:creator>
		<pubDate>Fri, 25 May 2007 14:14:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-258261</guid>
		<description>I still don't understand why verbs in URLs are bad.  delicious does it and they seem pretty successful?

I plan on releasing (yet another) image hosting site.  eBlarg!

I hope to structure my URLS like:

View all pictures in “Florida” gallery with “Swimming” and “Diving” tag:
http://cbmeeks.eblarg.com/pictures/gallery/florida/swimming/diving

"pictures" would be the class, "gallery" would be the function and the tags would follow.

I think this follows the "no verbs" method but I plan on doing this for tags:

Edit tag:
http://cbmeeks.eblarg.com/tags/edit/florida

IMHO, the end user (who cares less about REST) can easily remember that URL and it makes sense to THEM.

Anyway, just my opinion.</description>
		<content:encoded><![CDATA[<p>I still don&#8217;t understand why verbs in URLs are bad.  delicious does it and they seem pretty successful?</p>
<p>I plan on releasing (yet another) image hosting site.  eBlarg!</p>
<p>I hope to structure my URLS like:</p>
<p>View all pictures in “Florida” gallery with “Swimming” and “Diving” tag:<br />
<a href="http://cbmeeks.eblarg.com/pictures/gallery/florida/swimming/diving" rel="nofollow">http://cbmeeks.eblarg.com/pictures/gallery/florida/swimming/diving</a></p>
<p>&#8220;pictures&#8221; would be the class, &#8220;gallery&#8221; would be the function and the tags would follow.</p>
<p>I think this follows the &#8220;no verbs&#8221; method but I plan on doing this for tags:</p>
<p>Edit tag:<br />
<a href="http://cbmeeks.eblarg.com/tags/edit/florida" rel="nofollow">http://cbmeeks.eblarg.com/tags/edit/florida</a></p>
<p>IMHO, the end user (who cares less about REST) can easily remember that URL and it makes sense to THEM.</p>
<p>Anyway, just my opinion.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: zndyhhcemz</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-180285</link>
		<dc:creator>zndyhhcemz</dc:creator>
		<pubDate>Thu, 15 Feb 2007 18:03:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-180285</guid>
		<description>&lt;a href="http://nhyhxekwnsn.com" rel="nofollow"&gt;unutaopba&lt;/a&gt;</description>
		<content:encoded><![CDATA[<p><a href="http://nhyhxekwnsn.com" rel="nofollow">unutaopba</a></p>]]></content:encoded>
	</item>
	<item>
		<title>By: Mazr</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-68564</link>
		<dc:creator>Mazr</dc:creator>
		<pubDate>Mon, 16 Oct 2006 21:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-68564</guid>
		<description>IMO, it would be even better if you could somehow eliminate the query string to get something like:

http://www.example.org/users/surname/Michaels
http://www.example.org/articles/term/PHP

This would make the search URIs more inline with tag URIs:

http://www.example.org/articles/tag/PHP

Of course, browsers don't normally generate URIs like this from forms so you'd need a JS or server rewrite/redirect to get URIs like these.</description>
		<content:encoded><![CDATA[<p>IMO, it would be even better if you could somehow eliminate the query string to get something like:</p>
<p><a href="http://www.example.org/users/surname/Michaels" rel="nofollow">http://www.example.org/users/surname/Michaels</a><br />
<a href="http://www.example.org/articles/term/PHP" rel="nofollow">http://www.example.org/articles/term/PHP</a></p>
<p>This would make the search URIs more inline with tag URIs:</p>
<p><a href="http://www.example.org/articles/tag/PHP" rel="nofollow">http://www.example.org/articles/tag/PHP</a></p>
<p>Of course, browsers don&#8217;t normally generate URIs like this from forms so you&#8217;d need a JS or server rewrite/redirect to get URIs like these.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: Magic8Ball</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-66043</link>
		<dc:creator>Magic8Ball</dc:creator>
		<pubDate>Mon, 09 Oct 2006 09:58:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-66043</guid>
		<description>I'm looking for an XML description of a REST service, something like WSDL is there such a thing ?</description>
		<content:encoded><![CDATA[<p>I&#8217;m looking for an XML description of a REST service, something like WSDL is there such a thing ?</p>]]></content:encoded>
	</item>
	<item>
		<title>By: SitePoint Blogs &#187; MVC and web apps: oil and water</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-12227</link>
		<dc:creator>SitePoint Blogs &#187; MVC and web apps: oil and water</dc:creator>
		<pubDate>Thu, 22 Dec 2005 11:38:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-12227</guid>
		<description>[...] To me a direct consequence of promoting actions as first class objects is we end up with people putting verbs in URLs like &#8220;http://example.com/item/1/delete&#8221;, which in turn leads problems like this and implies tight coupling (between client and server) and RPC. GET is clearly labelled as &#8220;safe / read only&#8221; while putting a verb in a URL implies something is going to be done (which may or may not be safe);  In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered &#8220;safe&#8221;. This allows user agents to represent other methods, such as POST, PUT and DELETE, in a special way, so that the user is made aware of the fact that a possibly unsafe action is being requested. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] To me a direct consequence of promoting actions as first class objects is we end up with people putting verbs in URLs like &#8220;http://example.com/item/1/delete&#8221;, which in turn leads problems like this and implies tight coupling (between client and server) and RPC. GET is clearly labelled as &#8220;safe / read only&#8221; while putting a verb in a URL implies something is going to be done (which may or may not be safe);  In particular, the convention has been established that the GET and HEAD methods SHOULD NOT have the significance of taking an action other than retrieval. These methods ought to be considered &#8220;safe&#8221;. This allows user agents to represent other methods, such as POST, PUT and DELETE, in a special way, so that the user is made aware of the fact that a possibly unsafe action is being requested. [&#8230;]</p>]]></content:encoded>
	</item>
	<item>
		<title>By: HarryF</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-11082</link>
		<dc:creator>HarryF</dc:creator>
		<pubDate>Tue, 22 Nov 2005 22:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-11082</guid>
		<description>&lt;blockquote&gt;
Like you said, few people get the point, myself included. SOAP does well enough for my needs, but then I’ve never looked into REST to figure it all out for myself.
&lt;/blockquote&gt;

That's a fair point of view. Think the two obvious benefits of REST over SOAP for system-to-system data exchange are REST makes it easier to use the network efficiently - e.g. you can use HTTP cache headers and having very general methods like GET and POST discourages fine grained APIs (which don't translate well to networks) plus you will probably be able to inspect a REST service with a browser.

But was thinking more of CRUD-style frameworks and normal HTML interfaces.

&lt;blockquote&gt;
an “action” parameter? It is basically your verb after all. http://www.example.com/?action=search or translated as http://www.example.com/?verb=search.
&lt;/blockquote&gt;

What about this URL http://www.example.com/results?term=PHP ?

Kind of evading the question there suffice to say another consequence is seperating "tools" for working with "resources" from the resources themselves. That might mean to edit a blog entry you might have a URL like http://www.example.com/backend/editor which displays the form you need and POSTs to the resource (URL) to update it.

&lt;blockquote&gt;
I’m also assuming that the above only applies to GET requests and not POST?
&lt;/blockquote&gt;

Guess the encoded POST data might contain verbs but not the URL you POST to.</description>
		<content:encoded><![CDATA[<blockquote><p>
Like you said, few people get the point, myself included. SOAP does well enough for my needs, but then I’ve never looked into REST to figure it all out for myself.
</p></blockquote>
<p>That&#8217;s a fair point of view. Think the two obvious benefits of REST over SOAP for system-to-system data exchange are REST makes it easier to use the network efficiently - e.g. you can use HTTP cache headers and having very general methods like GET and POST discourages fine grained APIs (which don&#8217;t translate well to networks) plus you will probably be able to inspect a REST service with a browser.</p>
<p>But was thinking more of CRUD-style frameworks and normal HTML interfaces.</p>
<blockquote><p>
an “action” parameter? It is basically your verb after all. <a href="http://www.example.com/?action=search" rel="nofollow">http://www.example.com/?action=search</a> or translated as <a href="http://www.example.com/?verb=search" rel="nofollow">http://www.example.com/?verb=search</a>.
</p></blockquote>
<p>What about this URL <a href="http://www.example.com/results?term=PHP" rel="nofollow">http://www.example.com/results?term=PHP</a> ?</p>
<p>Kind of evading the question there suffice to say another consequence is seperating &#8220;tools&#8221; for working with &#8220;resources&#8221; from the resources themselves. That might mean to edit a blog entry you might have a URL like <a href="http://www.example.com/backend/editor" rel="nofollow">http://www.example.com/backend/editor</a> which displays the form you need and POSTs to the resource (URL) to update it.</p>
<blockquote><p>
I’m also assuming that the above only applies to GET requests and not POST?
</p></blockquote>
<p>Guess the encoded POST data might contain verbs but not the URL you POST to.</p>]]></content:encoded>
	</item>
	<item>
		<title>By: mrsmiley</title>
		<link>http://www.sitepoint.com/blogs/2005/11/22/who-gets-rest/#comment-11078</link>
		<dc:creator>mrsmiley</dc:creator>
		<pubDate>Tue, 22 Nov 2005 22:04:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.sitepoint.com/blogs/?p=1320#comment-11078</guid>
		<description>Like you said, few people get the point, myself included.  SOAP does well enough for my needs, but then I've never looked into REST to figure it all out for myself.

I'm not sure what the basis is for removing verbs from the urls though.  Would you include frameworks that typically accept something akin to an "action" parameter?  It is basically your verb after all.  http://www.example.com/?action=search  or  translated as http://www.example.com/?verb=search.  You'd be hard pressed to find a way to translate said url without using any verbs in the urls considering it doesn't contain any other parameters you could refactor.

I'm also assuming that the above only applies to GET requests and not POST?</description>
		<content:encoded><![CDATA[<p>Like you said, few people get the point, myself included.  SOAP does well enough for my needs, but then I&#8217;ve never looked into REST to figure it all out for myself.</p>
<p>I&#8217;m not sure what the basis is for removing verbs from the urls though.  Would you include frameworks that typically accept something akin to an &#8220;action&#8221; parameter?  It is basically your verb after all.  <a href="http://www.example.com/?action=search" rel="nofollow">http://www.example.com/?action=search</a>  or  translated as <a href="http://www.example.com/?verb=search" rel="nofollow">http://www.example.com/?verb=search</a>.  You&#8217;d be hard pressed to find a way to translate said url without using any verbs in the urls considering it doesn&#8217;t contain any other parameters you could refactor.</p>
<p>I&#8217;m also assuming that the above only applies to GET requests and not POST?</p>]]></content:encoded>
	</item>
</channel>
</rss>
