Category: Cairngorm
Cairngorm Crystallized
Cairngorm is a framework for rich Internet application (RIA) development. More specifically, Cairngorm is a package of Actionscript 3.0 classes that help implement a number of proven design patterns to create a generic starting point for your Flex application architecture. By adapting a number of proven J2EE solutions for the RIA world, Cairngorm helps you deal with the complexity of managing state and encapsulating your business logic into reusable components while taking into account the asynchronous nature of service requests within a Flex application.
By focusing on the Cairngorm workflow, this article is intended to illustrate the "how" of Cairngorm as opposed to focusing heavily on the "why." Building an application with Cairngorm tends to follow a repetitive sequence of steps that, once they are clear, make Flex development a fairly simple and organized process. The intent of this article is to walk you through these steps.
This is a reprint with permission of an article that was originally published in the Fusion Authority Quarterly Update Volume 2 Issue 3 in October 2007 (click here to subscribe). If you would like to download the source you can find it here. I have another Cairngorm sample appliction which you can get via Subversion at http://code.google.com/p/remotesynthesis/ where you will also find the same example built with the Mate Framework. If you are interested in the Mate Framework, you can find my article on that topic in Flex Authority Volume 1 Issue 1, which you can subscribe to here.
cf.Objective() Cairngorm Presentation and Code
Anyway, I am attaching the presentation in PDF format. You can also download the example application via Subversion on my Google code site.
For example, you will notice that there are more speakers and more sessions than even last year. I am particularly happy to see the RIA track, of which I am a part, because I think it is obvious at this point that RIA's in Flex/AIR and Ajax are going to play such a key role in almost any ColdFusion developer's future. Kudos to Sean Corfield who has led the speaker and session selection.
Any readers of mine who are attending, please feel free to come say hello. Also, if you are interested in Flex and Cairngorm, attend my session on Cairngorm for ColdFusion Developers. I hope to do a good job of distilling Cairngorm into a simple process. However, more importantly, my presentation has a Duck Dodgers in the 24th 1/2 Century theme. How do I relate Duck Dodgers and Cairngorm? You'll have to attend to find out!
Using Cairngorm in Adobe AIR
Looking for a Beginner's Cairngorm Tutorial?
Update: This article has been posted to my site at http://www.remotesynthesis.com/post.cfm/cairngorm-crystallized
I recently published an article in the most recent, Flex-focused Fusion Authority Quarterly Update (Volume 2 Issue 2) titled "Cairngorm Crystallized: Examining the Cairngorm Microarchitecture from a Workflow Perspective" along with my coworker and friend, Michael Corbridge. I found that other Cairngorm tutorials often got overly focused on the why rather than the how. Personally, I have found that the why only becomes clear with the doing. Therefore, the focus of this article is on covering how to use Cairngorm to develop your project rather than on explaining the patterns it implements. Hopefully, this will be useful for anyone interested in beginning with the framework. If you have read the article, feel free to post any comments or questions here.
