<?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: The Response Pattern</title>
	<atom:link href="http://jacwright.com/blog/259/the-response-pattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://jacwright.com/blog/259/the-response-pattern/</link>
	<description>Flex, AIR, PHP, etc.</description>
	<lastBuildDate>Fri, 12 Mar 2010 23:40:29 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Jacob Wright</title>
		<link>http://jacwright.com/blog/259/the-response-pattern/comment-page-1/#comment-8497</link>
		<dc:creator>Jacob Wright</dc:creator>
		<pubDate>Mon, 31 Aug 2009 18:16:32 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=259#comment-8497</guid>
		<description>The way I&#039;ve described it is different than the IResponder method. It allows you to chain and reformat data. If it was exactly the same I wouldn&#039;t have posted about it at all.</description>
		<content:encoded><![CDATA[<p>The way I&#8217;ve described it is different than the IResponder method. It allows you to chain and reformat data. If it was exactly the same I wouldn&#8217;t have posted about it at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Si Robertson</title>
		<link>http://jacwright.com/blog/259/the-response-pattern/comment-page-1/#comment-8492</link>
		<dc:creator>Si Robertson</dc:creator>
		<pubDate>Sun, 30 Aug 2009 16:40:46 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=259#comment-8492</guid>
		<description>Very good article. However, the use of Responder classes is not a new concept and you have more or less described the functionality of the mx.rpc.Responder class as Tyler^ mentioned. I have been using Responder classes myself for a couple of years now.

//

responder = new Responder( onResult, onError );
service.doSomething( responder );

function onResult( data )
{}

function onError( data )
{}

//

Passing a responder to, or receiving a responder from, a service (or anything else) doesn&#039;t make any difference to the functionality or end result.</description>
		<content:encoded><![CDATA[<p>Very good article. However, the use of Responder classes is not a new concept and you have more or less described the functionality of the mx.rpc.Responder class as Tyler^ mentioned. I have been using Responder classes myself for a couple of years now.</p>
<p>//</p>
<p>responder = new Responder( onResult, onError );<br />
service.doSomething( responder );</p>
<p>function onResult( data )<br />
{}</p>
<p>function onError( data )<br />
{}</p>
<p>//</p>
<p>Passing a responder to, or receiving a responder from, a service (or anything else) doesn&#8217;t make any difference to the functionality or end result.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Wright</title>
		<link>http://jacwright.com/blog/259/the-response-pattern/comment-page-1/#comment-8467</link>
		<dc:creator>Jacob Wright</dc:creator>
		<pubDate>Sun, 23 Aug 2009 16:38:03 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=259#comment-8467</guid>
		<description>Yes, it is similar to IResponder and AsyncToken but like callback it takes methods/functions (less coding). It also allows for sync/async operations. I will post some code soon that shows my implementation of Response in action.</description>
		<content:encoded><![CDATA[<p>Yes, it is similar to IResponder and AsyncToken but like callback it takes methods/functions (less coding). It also allows for sync/async operations. I will post some code soon that shows my implementation of Response in action.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Not that Tyler</title>
		<link>http://jacwright.com/blog/259/the-response-pattern/comment-page-1/#comment-8465</link>
		<dc:creator>Not that Tyler</dc:creator>
		<pubDate>Sun, 23 Aug 2009 00:46:45 +0000</pubDate>
		<guid isPermaLink="false">http://jacwright.com/blog/?p=259#comment-8465</guid>
		<description>I&#039;ve been following both your blogs for a while, and hadn&#039;t thought that you two where related, let alone twins. :)

This sounds like the flex &lt;a href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/rpc/IResponder.html&quot; rel=&quot;nofollow&quot;&gt;mx.rpc.IRsponder&lt;/a&gt; and &lt;a href=&quot;http://livedocs.adobe.com/flex/3/langref/mx/rpc/AsyncToken.html&quot; rel=&quot;nofollow&quot;&gt;mx.rpc.AsyncToken&lt;/a&gt; from the flex framework.

It is an variation of the callback method, using classes instead of functions. The AsyncToken can hold multiple IResponders, and calls them at the completion of the Async event.

As I understand it, this is the recommended pratice for working with remote data in Cairngorm as well.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been following both your blogs for a while, and hadn&#8217;t thought that you two where related, let alone twins. :)</p>
<p>This sounds like the flex <a href="http://livedocs.adobe.com/flex/3/langref/mx/rpc/IResponder.html" rel="nofollow">mx.rpc.IRsponder</a> and <a href="http://livedocs.adobe.com/flex/3/langref/mx/rpc/AsyncToken.html" rel="nofollow">mx.rpc.AsyncToken</a> from the flex framework.</p>
<p>It is an variation of the callback method, using classes instead of functions. The AsyncToken can hold multiple IResponders, and calls them at the completion of the Async event.</p>
<p>As I understand it, this is the recommended pratice for working with remote data in Cairngorm as well.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
