You want to develop a loosely coupled, scalable solution for your next project. One of your colleagues might tell you that Cairngorm (CG) is the way to go. But you found it really scary. Is it really scary?
Dear friend! I can assure you about the simplicity of the Cairngorm micro architecture.
Cairngorm is the collection of some design patterns borrowed from J2EE fraternity. Sounding tough? Hold on!
It’s nothing but some well-known and largely used solution for common problems developers encounter in their day to day job.
Cairngorm is very flexible. Creators of CG encourage you to modify it and use it as per your requirements. You will find yourself using everything or something of CG once you are comfortable with it. You just need to get into it and once you are into it,you will not look back. You will just love it.
Are you ready to get started?
How to and where to start?
I have listed down step by step guide to use those recourses you will find around the flex ecosystem.
Read this interesting post by Steven Webster before you try anyhing with Cairngorm
-Why I think you shouldn’t use Cairngorm
If you still interested and determined to implement Cairngorm in your next project. Have a close look to these diagrams.
-Cairngorm Diagram Explorer
Interesting? Want more understanding on CG architecture. Read these six part articles by Steven Webster of Adobe Consulting.
Now is the time to make your hand dirty with some real coding. Have a look to the below given link. It will give you step by step guideline on how to setup your Cairngorm project. You will also get to see a very basic implementation of CG which is famous by the name of Cairngorm Login Example. Keeping the legacy of Steven, he has also written 3 part articles for beginners.
Need to see more complex implementation. Here are some links for you:
-Cairngorm Store Example Updated to Cairngorm 2.1
-WebService & Cairngorm 2 Example by Jesse Warden’s
-Some sample code examples on cairngorm
How about generating codes automatically ?
-Cairngorm code generator
Need to do some Unit Testing?
Unit testing Flex with FlexUnit and Cairngorm - The IResponder interface hurdle
I have noticed some promising screenshots in thinkingdigital blog. This guy has got some cool plan on screenshots but not sure it will be ever materialized or not.
- Cairngorm Plugin