Posts Tagged ‘cairngorm’
Jun
10Building a medium to large scale Flex App using Cairngorm (Part 4)
10
Posted: 10th June 2008
Tags: AIR, as3, cairngorm, Flex
Posted in AIR, Flex, as3
Comments: 3 Comments »
In 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 the rest of this article »
Jun
10Building a medium to large scale Flex App using Cairngorm (Part 3)
10
Posted: 10th June 2008
Tags: AIR, as3, cairngorm, Flex
Posted in AIR, Flex, as3
Comments: 2 Comments »
In 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 the rest of this article »
Jun
8Building a medium to large scale Flex App using Cairngorm (Part 2)
8
Posted: 8th June 2008
Tags: AIR, as3, cairngorm, Flex
Posted in AIR, Flex, as3
Comments: 8 Comments »
In 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 the rest of this article »
Jun
6Building a medium to large scale Flex App using Cairngorm (Part 1)
6
Posted: 6th June 2008
Tags: AIR, as3, cairngorm, Flex
Posted in AIR, Flex, as3
Comments: 1 Comment »
This 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 the rest of this article »
Jun
6A walkthrough on how to use Cairngorm with Flex or Air
6
Posted: 6th June 2008
Tags: AIR, as3, cairngorm, Flex, mvc
Posted in AIR, Flex, as3
Comments: 1 Comment »
The 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



