CairngormPresentationLayer

### Cairngorm 3 - [ Home ][1] - [ Guidelines ][3] - [ Tools ][4] - [ Libraries Downloads ][2]
### Cairngorm 2 - [ Home ][5] - [ Framework Downloads ][6] - [ Eclipse Plugin ][7]
### Project - [ Source ][8] - [ Bug Database ][9] - [ Submitting a Patch ][10] - [ Developer Documentation ][11] - [ Forums ][12] - [ License ][13]

Cairngorm Architecture: Presentation Layer

Cairngorm recommends a separation between presentation objects

  • ** Presentation Graphic Layer **
    Responsible for visual appearance, layout and effects. Objects often extend flash.display.DisplayObject (i.e. mx.core.UIComponent) and are often represented in MXML.

  • ** Presentation Behavior Layer **
    Responsible for presentation behavior such as communicaton with and between UI controls, formatting, input validation (validation can also be a Domain Layer responsiblity).

Cairngorm recommends the Presentation Model (PM) as a presentation pattern of the Presentation Behavior Layer, which encapsulates behaviour and state of the Presentation Graphic Layer while observing it using Flex's data binding. PMs can ease unit testing of presentation behaviour and clarify the presentation component API of interest.


Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.