Extracted from Microsoft Composite UI Applicatino Block Help pages.
The two most common patterns are Model-View-Controller (MVC) and
Model-View-Presenter (MVP). Both models are equally valid, though the MVP model
is generally easier to implement. MVC requires events that are exposed from the
model to update the view, whereas MVP depends on the presenter to update the
view directly.
Model-View-Presenter (MVP). Both models are equally valid, though the MVP model
is generally easier to implement. MVC requires events that are exposed from the
model to update the view, whereas MVP depends on the presenter to update the
view directly.
Some notes on MVC:
MVC is a fundamental design pattern for the separation of user interface
logic from business logic. The pattern separates the modeling of the application
domain, the presentation of the application, and the actions based on user input
into three distinct objects:
logic from business logic. The pattern separates the modeling of the application
domain, the presentation of the application, and the actions based on user input
into three distinct objects:
0 коммент.:
Post a Comment