Modular

If you’ve been beating your head against the wall trying to get Cairngorm and Modules to work together, stop now. We’ve already knocked ourselves senseless, not that we had much sense to begin with, and, flux capacitor like, come up with a solution.

What is this?

There’s been a lot of talk about using Cairngorm with Flex’s built in Module framework, and the general consensus is that it’s just not worth the effort. Here at Arc90, we use Cairngorm extensively, and until recently, had not leveraged modules. Then we found ourselves faced with the dilemma of making Cairngorm and Modules play nice. It turns out that the solution was fairly simple, as well as lightweight: we call it Modular.

Modular makes use of some great ideas that have been floating around the Flex community for awhile:

The ChainEvent package developed by Bjorn Schultheiss for sequencing commands.