Macromedia Flex Macromedia Flex
Flex and Cairngorm
  Home

May 05, 2006 - Flex and Cairngorm
General advice for beginners.

This is not really a tip, but rather some advice for those that are new to Flex.  In my opinion, anyone who is using/learning Flex should seriously consider using/learning Cairngorm as well.  Simply stated, Cairngorm provides structure to Flex projects.  To learn what Cairngorm is and how to integrate it into your projects, please read the excellent six-part article series by Steven Webster at: 

http://www.adobe.com/devnet/flex/articles/cairngorm_pt1.html

Realistically though, if you choose to undertake this endeavor, be prepared to do some studying.  I read the entire article series front to back, probably 4 times, before everything sank in.  Now it seems so simple that I'm wondering why it appeared so difficult at first.  More evidence that it's easy if you know how.  Like most, I started playing with Flex by creating simple little applications.  As the size of the applications grew, it didn't take long to realize that it is extremely easy to paint yourself into a corner very quickly.  Cairngorm solved this problem for me.  I had already started creating an enterprise application with Flex2 before reading the article above.  For me, it took about one month to learn Cairngorm and re-factor my application to comply with the structure.  I'm so glad that I did!  Having been an independent developer for mid-sized companies for more than 20 years, I have become very conscious of creating applications that are scalable and easy to maintain.  I am convinced that the month I spent learning Cairngorm will save years in application maintenance and enhancement in the future.

Best wishes,

Tim Hoff

File Details
Created On May, 05, 2006 by Tim Hoff
Last Modified On May, 05, 2006 by Tariq Ahmed
Group: Tips and Articles
Flex Versions: All
Category: Cairngorm
Type: Tip
Difficulty: Beginner
Keywords:
Comments (4)
May 12, 2006 02:03PM - Russ
Does the use if flex 1.5 in the artical matter?

June 14, 2006 11:44PM - Tim Hoff
Yes, but I think that there is still a version of Cairngorm (0.99) that works with Flex 1.5. However, the current build is for Flex2 Beta3.

September 10, 2006 07:16PM - Luiz Bonfa
Tim, probably you are ahead of the game and can advise on the latest CairngormStore for Flex 2 posted a couple of weeks ago. Unfortunately there is no instructions on the installation/configuration of this interesting sample. Any tips/recomendations? Thank you. Luiz Bonfa.

November 03, 2006 12:53PM - Brian Wood
Tim, Your experience with Cairngorm is exactly the same as ours. It took a while to figure out how convert our project over to cairngorm but once we got the first part of it done its been a breeze from that point on. So your right, its difficult "at first" but its definitely the way to go in the long run.

You must be logged in to post.