The seperated presentation pattern separates the responsibilities for the visual display and the event handling behavior into different class. In Composite WPF Guidance this pattern is implemented in multiple ways
Supervising Controller. This pattern, a variant of the Model-View-Presenter pattern, separates the responsibilities for the visual display and the event handling behavior into different classes named, respectively, the view and the presenter, and permits using data binding to enable direct communication between the view and the model.
Presentation Model. This pattern, a variant of the Model-View-Presenter pattern, supplements a façade on the model with UI-specific state and behavior that is easy to consume from the view.
No comments:
Post a Comment