FlexManiacs - Jim Robson - Managing Complexity with Cairngorm
Jim has been working with Flash since 1999 when Flash 4 was new.
As applications develop, requirements grow and complexity increases so it is important to be able to add new facilities. Cairngorm makes it easy to collaborate on a single file or projects. It makes it easy to find things in your code and add new features.
Every time you use Cairngorm you have to add the Cairngorm Library to the build Path in project properties. Ant can be used to create the application skeleton to save a lot of typing. Eric Feminella has written some Ant Scripts, which create several objects needed by the framework. Several folders are created with Actionscript files in each already.
- business
- commands
- control
- events
- model
- vo
In the class we created a news reader which would take newsfeeds from Reuters. There were one or two problems keeping up with the class. (I am not used to the US keyboard.)
www.cairngormdocs.org is the place to go for the full description of the framework.
My overall impression was that there does seem to be more overheads here than is really necessary for a simple application and I am concerned that with a really large application the huge number of files will grow and make it difficult to maintain things.
At lunch I talked with Mike and Angie Nimer who have some experience of using Cairngorm. They confirmed my thoughts and both said that there is a heavy price to pay in terms of extra overhead required in order to build an application with Cairngorm.

