<?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: What&#8217;s it good for?  Part Deux</title>
	<atom:link href="http://decafbad.com/blog/2002/04/26/oooabg/feed" rel="self" type="application/rss+xml" />
	<link>http://decafbad.com/blog/2002/04/26/oooabg</link>
	<description>It's all spinning wheels and self-doubt until the first pot of coffee.</description>
	<lastBuildDate>Fri, 19 Mar 2010 00:06:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-alpha</generator>
	<item>
		<title>By: pb</title>
		<link>http://decafbad.com/blog/2002/04/26/oooabg/comment-page-1#comment-62</link>
		<dc:creator>pb</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=107#comment-62</guid>
		<description>&lt;p&gt;Why not POST/GET requests with key=value pairs as a response. Done. Forget the PUT and DELETE. You&#039;re just making a function call. Forget XML formatted response since so few environments come with XML parsing. The average function call returns so little data that key=value pairs are more than adequate. And everyone already knows how to do this stuff.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Why not POST/GET requests with key=value pairs as a response. Done. Forget the PUT and DELETE. You&#8217;re just making a function call. Forget XML formatted response since so few environments come with XML parsing. The average function call returns so little data that key=value pairs are more than adequate. And everyone already knows how to do this stuff.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Christopher Heschong</title>
		<link>http://decafbad.com/blog/2002/04/26/oooabg/comment-page-1#comment-63</link>
		<dc:creator>Christopher Heschong</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=107#comment-63</guid>
		<description>&lt;p&gt;pb, how do you represent arrays?  Or multi-dimensional arrays?  Or note that something is an integer instead of a string?&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>pb, how do you represent arrays?  Or multi-dimensional arrays?  Or note that something is an integer instead of a string?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Baker</title>
		<link>http://decafbad.com/blog/2002/04/26/oooabg/comment-page-1#comment-64</link>
		<dc:creator>Mark Baker</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=107#comment-64</guid>
		<description>&lt;p&gt;deus_x, that&#039;s pretty much exactly right.  The only clarification I&#039;d make is that you might POST an email address (in plain text, or application/x-www-form-urlencoded, or XML if you want) to http://myhost/promotion/players in order to create a new player.  That POST could return a HTTP 201 response with the Location header set to the URI of that new player (if it succeeded).&lt;/p&gt;

&lt;p&gt;MB&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>deus_x, that&#8217;s pretty much exactly right.  The only clarification I&#8217;d make is that you might POST an email address (in plain text, or application/x-www-form-urlencoded, or XML if you want) to <a href="http://myhost/promotion/players" rel="nofollow">http://myhost/promotion/players</a> in order to create a new player.  That POST could return a HTTP 201 response with the Location header set to the URI of that new player (if it succeeded).</p>
<p>MB</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: l.m.orchard</title>
		<link>http://decafbad.com/blog/2002/04/26/oooabg/comment-page-1#comment-65</link>
		<dc:creator>l.m.orchard</dc:creator>
		<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.decafbad.com/blog/?p=107#comment-65</guid>
		<description>&lt;p&gt;pb: &lt;/p&gt;

&lt;p&gt;Well, that&#039;s exactly how I did things with flash games-- POST/GET requests with key/value pairs which responded with key/value pairs.  Like Christopher says, this started to fall apart when I needed richer data structures.&lt;/p&gt;

&lt;p&gt;As for REST, it seems that their idea is to not make function calls.  What you do with REST is to treat URIs more like database resources, on which you perform SELECT (GET), INSERT (POST), UPDATE (PUT) and DELETE (DELETE).  So instead of calling an award_points method on my player object, I UPDATE (PUT) points on the points resource of my player (represented by URI).&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>pb: </p>
<p>Well, that&#8217;s exactly how I did things with flash games&#8211; POST/GET requests with key/value pairs which responded with key/value pairs.  Like Christopher says, this started to fall apart when I needed richer data structures.</p>
<p>As for REST, it seems that their idea is to not make function calls.  What you do with REST is to treat URIs more like database resources, on which you perform SELECT (GET), INSERT (POST), UPDATE (PUT) and DELETE (DELETE).  So instead of calling an award_points method on my player object, I UPDATE (PUT) points on the points resource of my player (represented by URI).</p>
]]></content:encoded>
	</item>
</channel>
</rss>
