I recently wrote a sample Flex application — a simple Flex RSS Reader — using Cairngorm.
I find that learning Cairngorm is made easier by looking at simple applications like this one. And the one I wrote earlier — a simple contact manager.
When one looks at how Cairngorm is implemented across multiple applications, one starts seeing common patterns. And that is exactly the point of a framework like Cairngorm.
Learning the framework is made easier by the fact that there is a certain repeatability and consistency in the way a Cairngorm application is structured.
I’ve also setup a Google Code project for the application.
Update (9 March 2011): The project has been moved toÂ GitHub.
Here are the instructions on how to install and setup the application.
Download and Unzip FlexRSSReader1.0.zip
This will create a subfolder: com (containing the Flex code for the application and Cairngorm 2.2 SWC)
Set up the app in Flex Builder
- Create a new Flex project in Flex Builder.
- Select “Basic”
- Specify Project Name: FlexRSSReader and point it to the directory where you unzipped the source file.
- Add the Cairngorm library — Cairngorm.swc — to the project by going to Project > Properties > Flex Build Path > Library Path (tab) > Add SWC. Select the Cairngorm.swc in /com/adobe/cairngorm directory.
- Run the application and you should see the Flex RSS Reader load up in a browser.
Hope you find it useful. Please do drop me note if this helped you, or if you have any suggestions on how to improve it.