Tuesday, May 22, 2012

Presentation Model and Presenter

View => Presentation Model (PM) => Presenter (P)
PM/P => Event
Event => Command => Remote Object (RO)


Presentation Model
It contains all the data needed by the view
Each view has an associated PM, and the view binds directly to the data exposed by its PM

Presenter
The Presenter acts upon the Model and the View. It retrieves data from
repositories, persists it, manipulates it, and determines how it will be
displayed in the View.

======================================================================

Presenter (MVP)
Introduction to MVP for Flex (Presenter)
http://www.mxml.it/index.php/2008/09/09/introduction-to-mvp-for-flex/

Presentation Model
Cairngorm and the Presentation Model - Part 1 : Introduction
http://www.dehats.com/drupal/?q=node/48

Cairngorm and the Presentation Model - Part 2 : Sample application
http://www.dehats.com/drupal/?q=node/49

Cairngorm and the Presentation Model - Part 3 : Further thoughts
http://www.dehats.com/drupal/?q=node/50

PM + P
Micro-architectures of Enterpise Applications applied in Flex
http://corlan.org/bootcamp/MicroArchitecture2.pdf

Applying the Presentation Model in Flex
http://blogs.adobe.com/tomsugden/2009/08/applying_the_presentation_mode.html

No comments:

Post a Comment