Flex Certification » Flex Frameworks » Cairngorm Presentation Model
Cairngorm Presentation Model

PRESENTATION MODEL:
Typically, every view will have corresponding presentation model that will support that view. In some cases one presentation model can support multiple views, if views have same domain of concern. Presentation model classes implement Cairngorm IModelLocator interface.
Typical presentation model responsibilities are:
- To support view, where view controls are using data binding to the presentation model
- Keeps state of the view
- Dispatch events
- Handles command results
- Contains UI validation logic
- Used for automated unit test scripts
Filed under: Flex Frameworks







