Overview
This section looks at how you can extend the generated Cairngorm framework code. To work with this section of the documentation a base understanding of Cairngorm is required.
When ZoomFlex generates an application it generates a complete Cairngorm application including the base views, the model and the controller for each Class. Under the view folder the system will generate a folder for each SOF Class you built on the server and in this folder will be 4 files:
Views
Main.mxml
This contains the layout for organising the filter, listing and edit views
Listing.mxml
Contains a datagrid to list instances of the Class
Filter.mxml
Contains the filter controls to filter Class instances
EditForm.mxml
Contains the form to display and edit a Class instance
The 4 files above contain almost all the logic you would require as a starting to point to start building and extending your application.
Model
Inside the generate model folder you will find a standard Cairngorm Modellocator.as and a Cairngorm Value Object actionscript file for each Class in the package.
Controller
In this folder you will find the standard Cairngorm event,delegate and command folders as well as a MainController.as file. There will be an event, delegate and command for each Class.
Comments
There are no comments for this page as yet.
PDF
print section



