Entries for month: August 2007

Organizing imports in Flex Builder 2

Today I was working on refactoring code of a large Flex application. Many files contained lots of imports at the top. I was looking for a quick way to organize my imports. I did vaguely remember that there was on an option somewhere to organize the imports, but couldn't remember where to find it! Did all my right-clicks etc., but just couldnt' see it.

I was almost about to move on, but then I found it! In Flex Builder, click on Source > Organize Imports to organize imports alphabetically.

Even better, there is shortcut keys for it organizing imports. On Windows: CTRL + Shift + o On Mac: Apple + Shift + o. Keep in mind that that imports can only be organized in this manner in Actionscript files only. (This will not work in MXML files.) But overall, it works beautifully.

Simple Flex RSS Reader using Cairngorm

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.

Read more...

Flex, Cairngorm based contact manager on Google Code

I've just setup a Google Code project for the sample contact manager application I had written a while back.

The contact manager used Flex, Cairngorm framework and ColdFusion backend. The original version of the application was based on Cairngorm .99.

I've been working on upgrading the application to Cairngorm 2.2.

Read more...