<?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: Cairngorm Command Flaws and What You Can Do About Them	</title>
	<atom:link href="https://jessewarden.com/2007/05/cairngorm-command-flaws-and-what-you-can-do-about-them.html/feed" rel="self" type="application/rss+xml" />
	<link>https://jessewarden.com/2007/05/cairngorm-command-flaws-and-what-you-can-do-about-them.html</link>
	<description>Software &#124; Fitness &#124; Gaming</description>
	<lastBuildDate>Fri, 05 Mar 2010 08:01:52 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>
		By: kevin		</title>
		<link>https://jessewarden.com/2007/05/cairngorm-command-flaws-and-what-you-can-do-about-them.html/comment-page-1#comment-226568</link>

		<dc:creator><![CDATA[kevin]]></dc:creator>
		<pubDate>Fri, 05 Mar 2010 08:01:52 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1159#comment-226568</guid>

					<description><![CDATA[Hi Jesse,

I&#039;m reviving an old thread here to get your current thoughts on how to handle the issue of notifying a view when a Command has executed and returns its OnResult/OnFault so that further logic can be executed...

As I understand it Cairngorm 3 proposes extrapolating all methods of a view into it&#039;s own model (singleton) which you can then call from the Command/Responder&#039;s Result/Fault handlers.

While I haven&#039;t attempted to use the beta yet, this seems like a lot of remodelling is required!

http://opensource.adobe.com/wiki/display/cairngorm/HowToUseCairngormIntegration#HowToUseCairngormIntegration-Command

Do you have any update on how you&#039;ve solved this problem since 2007?]]></description>
			<content:encoded><![CDATA[<p>Hi Jesse,</p>
<p>I&#8217;m reviving an old thread here to get your current thoughts on how to handle the issue of notifying a view when a Command has executed and returns its OnResult/OnFault so that further logic can be executed&#8230;</p>
<p>As I understand it Cairngorm 3 proposes extrapolating all methods of a view into it&#8217;s own model (singleton) which you can then call from the Command/Responder&#8217;s Result/Fault handlers.</p>
<p>While I haven&#8217;t attempted to use the beta yet, this seems like a lot of remodelling is required!</p>
<p><a href="http://opensource.adobe.com/wiki/display/cairngorm/HowToUseCairngormIntegration#HowToUseCairngormIntegration-Command" rel="nofollow ugc">http://opensource.adobe.com/wiki/display/cairngorm/HowToUseCairngormIntegration#HowToUseCairngormIntegration-Command</a></p>
<p>Do you have any update on how you&#8217;ve solved this problem since 2007?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: visweshwar		</title>
		<link>https://jessewarden.com/2007/05/cairngorm-command-flaws-and-what-you-can-do-about-them.html/comment-page-1#comment-141115</link>

		<dc:creator><![CDATA[visweshwar]]></dc:creator>
		<pubDate>Thu, 11 Dec 2008 03:22:13 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1159#comment-141115</guid>

					<description><![CDATA[I absolutely agree with Jess. There is a small trick which can enable us to break the shackles of command logic. By using viewcontroller..
an implementation of the same is available at

www.flex-lcds.blogspot.com]]></description>
			<content:encoded><![CDATA[<p>I absolutely agree with Jess. There is a small trick which can enable us to break the shackles of command logic. By using viewcontroller..<br />
an implementation of the same is available at</p>
<p><a href="http://www.flex-lcds.blogspot.com" rel="nofollow ugc">http://www.flex-lcds.blogspot.com</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andre		</title>
		<link>https://jessewarden.com/2007/05/cairngorm-command-flaws-and-what-you-can-do-about-them.html/comment-page-1#comment-36121</link>

		<dc:creator><![CDATA[Andre]]></dc:creator>
		<pubDate>Wed, 19 Dec 2007 17:03:45 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1159#comment-36121</guid>

					<description><![CDATA[Hey Jesse,

Did you ever reply to David&#039;s last thread?  I was also curious about the data typing of the events that you passed up to parent views.  Thanks for a great post!]]></description>
			<content:encoded><![CDATA[<p>Hey Jesse,</p>
<p>Did you ever reply to David&#8217;s last thread?  I was also curious about the data typing of the events that you passed up to parent views.  Thanks for a great post!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David		</title>
		<link>https://jessewarden.com/2007/05/cairngorm-command-flaws-and-what-you-can-do-about-them.html/comment-page-1#comment-4385</link>

		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Fri, 13 Jul 2007 11:28:03 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1159#comment-4385</guid>

					<description><![CDATA[Hey Jesse, 
love your work, 
quick couple of questions, the events you launch from the children how do you type them? that is to say do you create events that are Cairngorm events, but dispatch them as normal flex events using dispatchEvent(myCairngormEvent) and then when you arrive at the appropriate parent re dispatch them as cairngorm events myCairngormEvent.dispatch(), or do you do it some other way?  If they are not cairngorm events how do you pass data up the views? 

Second I have created individual models for any parent view that is significant, i.e. has several children  that have no model and do NOT dispatch cairngorm events, these intermediate parent views also belong to another view (lets call him the super parent). I have been dispatching Cairngorm events from these intermediate parent views that effect their particular model  and also dispatching normal  events up to their super parents for events that effect them, the super parent then calls  its specific cairngorm events as required, is this ok?]]></description>
			<content:encoded><![CDATA[<p>Hey Jesse,<br />
love your work,<br />
quick couple of questions, the events you launch from the children how do you type them? that is to say do you create events that are Cairngorm events, but dispatch them as normal flex events using dispatchEvent(myCairngormEvent) and then when you arrive at the appropriate parent re dispatch them as cairngorm events myCairngormEvent.dispatch(), or do you do it some other way?  If they are not cairngorm events how do you pass data up the views? </p>
<p>Second I have created individual models for any parent view that is significant, i.e. has several children  that have no model and do NOT dispatch cairngorm events, these intermediate parent views also belong to another view (lets call him the super parent). I have been dispatching Cairngorm events from these intermediate parent views that effect their particular model  and also dispatching normal  events up to their super parents for events that effect them, the super parent then calls  its specific cairngorm events as required, is this ok?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Vic		</title>
		<link>https://jessewarden.com/2007/05/cairngorm-command-flaws-and-what-you-can-do-about-them.html/comment-page-1#comment-4286</link>

		<dc:creator><![CDATA[Vic]]></dc:creator>
		<pubDate>Sun, 27 May 2007 08:49:28 +0000</pubDate>
		<guid isPermaLink="false">http://jessewarden.com/?p=1159#comment-4286</guid>

					<description><![CDATA[Great Article.  Can&#039;t say that I haven&#039;t had similar problems.  I greatly dislike observing the model to see what my commands are doing... sometimes that works but it&#039;s not my preference.  I also bubble up from components to app specific views and then dispatch my CG Events from there.   One approach I have been using for a while and it works fine in situations where only the calling view and/or it&#039;s children need to know about command status, is to have my views implement an interface, say IVIew, and then pass a reference to the view with my Event.  Command checks if the event.token.originatingView is IView and if so calls update(originalEvent, resultEvent).  In the update I can then use a switch statement to react to only originalEvent.types that I select.

In situations where multiple lateral views might need updates, i&#039;ve been playing with a generic CommandEvent that all Commands trigger.  The type of the original event that triggered the Command is used by Views to filter out events they arent interested in.  It works but I fear won&#039;t be very scalable.


]]></description>
			<content:encoded><![CDATA[<p>Great Article.  Can&#8217;t say that I haven&#8217;t had similar problems.  I greatly dislike observing the model to see what my commands are doing&#8230; sometimes that works but it&#8217;s not my preference.  I also bubble up from components to app specific views and then dispatch my CG Events from there.   One approach I have been using for a while and it works fine in situations where only the calling view and/or it&#8217;s children need to know about command status, is to have my views implement an interface, say IVIew, and then pass a reference to the view with my Event.  Command checks if the event.token.originatingView is IView and if so calls update(originalEvent, resultEvent).  In the update I can then use a switch statement to react to only originalEvent.types that I select.</p>
<p>In situations where multiple lateral views might need updates, i&#8217;ve been playing with a generic CommandEvent that all Commands trigger.  The type of the original event that triggered the Command is used by Views to filter out events they arent interested in.  It works but I fear won&#8217;t be very scalable.</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
