FireStarter
FireStarter is an Adobe air application that rapidly builds the basic shell project for other Flex or Air development endeavors. This open-source application is initially designed for use in setting up medium to large projects based on the Cairngormn framework.
An Adobe Air Application authoring another Adobe Air application?
Quick video example
Here is a quick video example of the application building a sample project.
FireStarter currently consists of three basic steps. FireStarter then generates about 500 lines of code and the basic file structure for you application. You assign a project name, client, location on the local drive and the major sections of the project and the generated code uses best practices to organize your project based on standard model view controller best practices.
The generated application should run right off the bat. The application when launched has a header bar across the top with a button for each section that you created in FireStarter. The buttons when clicked change the main view stack and show the corresponding application section. I’ve added a random background color to highlight the change.
The code might look like this:
protected function sectionTwoBtnClickHandler(event:MouseEvent):void {
model.applicationNavigatorManager.currentView = ApplicationNavigator.SECTION_TWO_VIEW;
}
The Main.mxml file (com/client/project/view/Main.mxml) has a viewStack component with the major sections of your application. The viewStack’s selected index is bound to the currentView in the ApplicationNavigationManager.
While the random colors are nice, I don’t expect too many developers to take this application to market
This application wouldn’t work if it wasn’t open-source
I don’t expect this application to be the perfect solution for every new project. We all do things a little different and love to put our own little spin on things. Everything I’ve written is protected variables and protected functions so feel free to override and change anything you’d like. If the file structure isn’t what your dev team is familiar with feel free to dive into the source code and change it. I’ve assigned an MIT license to it because it’s the most liberal license I could find. Feel free to rebrand, rewrite or resell this application.