Our Blog
Building a medium to large scale Flex App using Cairngorm (Part 4)
10 June 2008 22:06, Posted by JonIn this final part on building a medium to large scale flex or Air app using Cairngorm, I will look at how I approach the service locator and use flex builders built in responder mechanism to handle service call responses.
Read more…
Building a medium to large scale Flex App using Cairngorm (Part 3)
10 June 2008 19:49, Posted by JonIn Parts 1 & 2 we setup Cairngorm and our models. In Part 3 we will look at how we will make use of the controller, using commands to handle events, chaining together a series of commands using Cairngorm’s SequenceCommand and creating custom CairngormEvents.
Read more…
Building a medium to large scale Flex App using Cairngorm (Part 2)
8 June 2008 18:19, Posted by JonIn Part 1 we created a new Flex project and setup the classes we that will be used to support our application architecture. In this part we will look at how we build our application around these classes.
Read more…
Building a medium to large scale Flex App using Cairngorm (Part 1)
6 June 2008 19:22, Posted by JonThis is the first part of a four part series on my own approach to using Cairngorm to build an enterprise Rich Internet App.
In the first part, I cover setting up your project and creating the foundation classes that will hand our Rich Internet Application together.
Read more…
A walkthrough on how to use Cairngorm with Flex or Air
6 June 2008 19:20, Posted by JonThe Flex scene seems to be lacking in beginners’ guides to Cairngorm (maybe they are just alluding my Google searches) so I have put together (larger than hoped) a four part series that guides you through how I use Cairngorm.
For those of you who have read my articles on Tom Bray’s EasyMVC, this may sound surprising. I have previously posted articles on how to scale up EasyMVC into a Micro-architecture similar to Cairngorm. However, the rationale behind these articles was to help developers who implement EasyMVC and find their app out grows the implementation that Tom originally presented, and not as a blueprint for architecting apps. EasyMVC is a great framework for small Flex apps and Flex widgets where using Cairngorm would be the equivalent of taking a sledgehammer to a walnut. If you know in advance you application is going to be fairly sizable, use Cairngorm (or something like PureMVC if you prefer).
Before I get started, there is a slight disclaimer: I am going to present my own approach to using Cairngorm which does deviate from the documented approach, namely around services. I feel it is simpler, but you may beg to differ. I do not present this as the best solution or a perfect solution, but it is a tried and tested solution which hopefully will get more developers understanding and using Cairngorm where appropriate.
In essence this series should give you all you need to know to get started with Cairngorm.
Contents:
Part 1 – Setting up a project for Cairngorm
Part 2 – The Model
Part 3 – Commands
Part 4 – Services
Cairngorm Demo Source Files
