<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: REST for Corporate IT</title>
	<atom:link href="http://jeffspost.wordpress.com/2009/01/25/rest-for-corporate-it/feed/" rel="self" type="application/rss+xml" />
	<link>http://jeffspost.wordpress.com/2009/01/25/rest-for-corporate-it/</link>
	<description>Jeff Staddon on Business and Technology</description>
	<lastBuildDate>Sun, 12 Jul 2009 17:41:26 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: PJ</title>
		<link>http://jeffspost.wordpress.com/2009/01/25/rest-for-corporate-it/#comment-906</link>
		<dc:creator>PJ</dc:creator>
		<pubDate>Mon, 26 Jan 2009 22:51:20 +0000</pubDate>
		<guid isPermaLink="false">http://jeffspost.wordpress.com/?p=81#comment-906</guid>
		<description>Yes, PUT and DELETE are &#039;hard&#039; to support.. but you can at least support then as extensions to POST, which is very commonly used and supported by browsers, so no extra effort.

Besides, putting modification primitives behind POST is just hygenic - else a naive webcrawler can ruin your whole day. Once there was a wiki that had &#039;delete page&#039; as a GET method... and it met a CEO&#039;s PocketPC &#039;cache this site so I can read it on the airplane&#039; software... resulting in a very unhappy sysadmin...</description>
		<content:encoded><![CDATA[<p>Yes, PUT and DELETE are &#8216;hard&#8217; to support.. but you can at least support then as extensions to POST, which is very commonly used and supported by browsers, so no extra effort.</p>
<p>Besides, putting modification primitives behind POST is just hygenic &#8211; else a naive webcrawler can ruin your whole day. Once there was a wiki that had &#8216;delete page&#8217; as a GET method&#8230; and it met a CEO&#8217;s PocketPC &#8216;cache this site so I can read it on the airplane&#8217; software&#8230; resulting in a very unhappy sysadmin&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bob Gregory</title>
		<link>http://jeffspost.wordpress.com/2009/01/25/rest-for-corporate-it/#comment-905</link>
		<dc:creator>Bob Gregory</dc:creator>
		<pubDate>Sun, 25 Jan 2009 14:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://jeffspost.wordpress.com/?p=81#comment-905</guid>
		<description>I disagree with you throughout.

1) The consistency of SOAP is its only benefit - there is no agreed mechanism for service discovery in REST, and the lack of standard formats is a hindrance - not a solution to the well-known problems of SOAP. ATOMPub  is emerging as an excellent standard for POX services, but JSON, while popular, has no means of defining or validating document schema and this makes *real* SOA harder to implement. 

When implemented properly, SOAP has a lot going for it, but implementing it properly is difficult (read up on the WSS or WSE standards - zomgwtflololol).

2) REST, lacking a formalised message structure, would almost certainly save a few bytes on the wire if you wanted to pass a &quot;3000 character sql statement&quot;. SOAP would produce a larger message, particularly if you chose a light-weight format for your REST message. Incidentally  3000 characters isn&#039;t a large message at one byte per character.

3) Don&#039;t pass SQL statements to your web server. srsly dude.

4) Defining a service solely in terms of GET operations is *not* RESTful. It&#039;s an HTTP service, but fails to capture the basic idea of REST - that we can represent an application&#039;s state as HTTP operations over a set of uniquely identified resources.

I&#039;m not a purist by any means, I&#039;m a dirty, filthy hacker - but a GETful service is not RESTful, it&#039;s just simple.

Furthermore, REST (sometimes) tends to scale because it differentiates between operations that change resources, and operations that do not. If all your GET requests are idempotent, then you can cache hard at the application boundary. 

If your GET requests are really updates in disguise, then it needn&#039;t scale any better than SOAP &#039;cos you&#039;re still doing RPC, except that you&#039;ve dropped any sense of rigour in your request/response formats.</description>
		<content:encoded><![CDATA[<p>I disagree with you throughout.</p>
<p>1) The consistency of SOAP is its only benefit &#8211; there is no agreed mechanism for service discovery in REST, and the lack of standard formats is a hindrance &#8211; not a solution to the well-known problems of SOAP. ATOMPub  is emerging as an excellent standard for POX services, but JSON, while popular, has no means of defining or validating document schema and this makes *real* SOA harder to implement. </p>
<p>When implemented properly, SOAP has a lot going for it, but implementing it properly is difficult (read up on the WSS or WSE standards &#8211; zomgwtflololol).</p>
<p>2) REST, lacking a formalised message structure, would almost certainly save a few bytes on the wire if you wanted to pass a &#8220;3000 character sql statement&#8221;. SOAP would produce a larger message, particularly if you chose a light-weight format for your REST message. Incidentally  3000 characters isn&#8217;t a large message at one byte per character.</p>
<p>3) Don&#8217;t pass SQL statements to your web server. srsly dude.</p>
<p>4) Defining a service solely in terms of GET operations is *not* RESTful. It&#8217;s an HTTP service, but fails to capture the basic idea of REST &#8211; that we can represent an application&#8217;s state as HTTP operations over a set of uniquely identified resources.</p>
<p>I&#8217;m not a purist by any means, I&#8217;m a dirty, filthy hacker &#8211; but a GETful service is not RESTful, it&#8217;s just simple.</p>
<p>Furthermore, REST (sometimes) tends to scale because it differentiates between operations that change resources, and operations that do not. If all your GET requests are idempotent, then you can cache hard at the application boundary. </p>
<p>If your GET requests are really updates in disguise, then it needn&#8217;t scale any better than SOAP &#8216;cos you&#8217;re still doing RPC, except that you&#8217;ve dropped any sense of rigour in your request/response formats.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
