Learn  >  Model & Process  >  Models
Presentation Model

  The Presentation Model is the description of where and how navigation elements are presented to the user. This model is composed by three related sub-models: Layout, Layout Behavior and Themes.



The Layout Model divides the screen as a screen-area composition. Leaf (final) areas show the content, root areas contain other areas and propagate the content to them.

The Layout Behavior indicates the "visual hierarchy" between the areas. This is how areas are loaded, depending on whether one area is target of another, is fixed on screen, etc. This is made at screen-area level (not at control level), automatically implementing the Visual Framework pattern.

The Themes Model defines color and style sets, and the corresponding mapping with the controls used in the UI.

For each area, the developer defines which control should be used to present each navigational element. Controls are first class citizens in the Himalia Presentation Model. Each control exposes a contract that is used for Himalia to know what each control is able to do or not.