Latest in Code

Incrementing Search and Replace

Iterate Over An Object In Actionscript 3

Generating Cairngorm code

Flex Compiler Shell Controller, jEdit and Error List

Instant Slideshow JSFL

More pages in Code...

 

Generating Cairngorm code


Make cairngorm events, commands, and delegates with this interactive shell script.
2008-12-25

Cairngorm is a popular micro-architecture for Flex. I've had really positive experiences with it. One of the gripes people have though, is the amount of code required for many actions. I'd have to agree, there's a lot of code. That's the price you pay for clean, legible, bugfree code, and I'm more than happy to pay.

To make my life easier I've created a simple bash script for use with creating Cairngorm events, commands, and delegates. It's an interactive script, and should work on OS X and Linux without issue. I'm not sure about bash support on Windows. It creates an event, command and (optional) delegate class based upon templates.

Download it here! Example usage and folder structure included.

 
 

©2004 Chris Hill. All Rights Reserved.Legal Crapola