<?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: Where Do Resources Come From?</title>
	<atom:link href="http://www.subbu.org/blog/2008/10/where-do-resources-come-from/feed" rel="self" type="application/rss+xml" />
	<link>http://www.subbu.org/blog/2008/10/where-do-resources-come-from</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 05:16:45 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: subbu</title>
		<link>http://www.subbu.org/blog/2008/10/where-do-resources-come-from/comment-page-1#comment-9382</link>
		<dc:creator>subbu</dc:creator>
		<pubDate>Tue, 04 Nov 2008 18:04:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.subbu.org/?p=522#comment-9382</guid>
		<description>Yes. That is the way to do it. See the slides on Pragmatic REST at http://www.subbu.org/blog/2008/10/slides-from-the-colorado-software-summit, which essentially describes that.</description>
		<content:encoded><![CDATA[<p>Yes. That is the way to do it. See the slides on Pragmatic REST at <a href="http://www.subbu.org/blog/2008/10/slides-from-the-colorado-software-summit" rel="nofollow">http://www.subbu.org/blog/2008/10/slides-from-the-colorado-software-summit</a>, which essentially describes that.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nathan Howell</title>
		<link>http://www.subbu.org/blog/2008/10/where-do-resources-come-from/comment-page-1#comment-9289</link>
		<dc:creator>Nathan Howell</dc:creator>
		<pubDate>Mon, 03 Nov 2008 05:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.subbu.org/?p=522#comment-9289</guid>
		<description>Maybe I&#039;m way off here, but couldn&#039;t you just create a single document (on the client) that describes the transaction completely, and POST it to /transactions? Then the transaction can be verified, applied safely, and the accounts updated by some backend process (the details of which don&#039;t matter to the interface).

I&#039;d be interested to hear thoughts on this.

Nathan</description>
		<content:encoded><![CDATA[<p>Maybe I&#8217;m way off here, but couldn&#8217;t you just create a single document (on the client) that describes the transaction completely, and POST it to /transactions? Then the transaction can be verified, applied safely, and the accounts updated by some backend process (the details of which don&#8217;t matter to the interface).</p>
<p>I&#8217;d be interested to hear thoughts on this.</p>
<p>Nathan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jean-Jacques Dubray</title>
		<link>http://www.subbu.org/blog/2008/10/where-do-resources-come-from/comment-page-1#comment-8471</link>
		<dc:creator>Jean-Jacques Dubray</dc:creator>
		<pubDate>Sun, 26 Oct 2008 16:34:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.subbu.org/?p=522#comment-8471</guid>
		<description>Subbu:

I thought, I&#039;d chime in about the last one. 

a) I find it quite ironic to think that a business process is no more than a series of resources interacting as part of their lifecycle (debit, transfer and credit) and the REST camp is now inventing &quot;process&quot; resources when they would have otherwise the absolute right foundation if only they could understand that resources have indeed a lifecycle made up of states and transitions and that there is indeed an action based &quot;API&quot; to transition resources from one state to another. So please, before you guys mess up the BPM space like Assaf et al in its time, I would urge you to think Resourcefully about it.

b) the example that you are providing is extremely interesting from a REST perspective because it shows how impractical the artificial network authority boundary is. Let&#039;s say I really want to create a RESTful transfer. How could I go about doing that.

I need to 
1) POST a &quot;debit&quot; resource to an account
2) POST a &quot;transfer&quot; resource to this debit
3) Let&#039;s that somehow you achieve transactionality and you can&#039;t create a debit without a transfer and vice versa
4) Now, I need to POST a &quot;credit&quot; resource to the transfer, but does it belong to the transfer resource or the receiving account? How do I achieve transactionality again between the receiving account, the transfer and the credit resource?

Now that the transfer has been completed how do you update the debit and credit resources? 

It would be really interesting to see a full RESTful implementation of this use case.

JJ-</description>
		<content:encoded><![CDATA[<p>Subbu:</p>
<p>I thought, I&#8217;d chime in about the last one. </p>
<p>a) I find it quite ironic to think that a business process is no more than a series of resources interacting as part of their lifecycle (debit, transfer and credit) and the REST camp is now inventing &#8220;process&#8221; resources when they would have otherwise the absolute right foundation if only they could understand that resources have indeed a lifecycle made up of states and transitions and that there is indeed an action based &#8220;API&#8221; to transition resources from one state to another. So please, before you guys mess up the BPM space like Assaf et al in its time, I would urge you to think Resourcefully about it.</p>
<p>b) the example that you are providing is extremely interesting from a REST perspective because it shows how impractical the artificial network authority boundary is. Let&#8217;s say I really want to create a RESTful transfer. How could I go about doing that.</p>
<p>I need to<br />
1) POST a &#8220;debit&#8221; resource to an account<br />
2) POST a &#8220;transfer&#8221; resource to this debit<br />
3) Let&#8217;s that somehow you achieve transactionality and you can&#8217;t create a debit without a transfer and vice versa<br />
4) Now, I need to POST a &#8220;credit&#8221; resource to the transfer, but does it belong to the transfer resource or the receiving account? How do I achieve transactionality again between the receiving account, the transfer and the credit resource?</p>
<p>Now that the transfer has been completed how do you update the debit and credit resources? </p>
<p>It would be really interesting to see a full RESTful implementation of this use case.</p>
<p>JJ-</p>
]]></content:encoded>
	</item>
</channel>
</rss>

