Tuesday, June 12, 2012

Know The 3 Model-View-Whatever UI Design Patterns MVC MVP MVVM!


You Need To Know These 3 Model-View-Whatever UI Design Patterns MVC MVP MVVM!

 Model-view-controller MVC The model–view–controller framework separates the representation of information in a computer program from the user's interaction with it.[1][2] The model consists of application data and business rules, and the controller mediates input, converting it to commands for the model or view.[3] A view can be any output representation of data, such as a chart or a diagram. Multiple views of the same data are possible, such as a pie chart for management and a tabular view for accountants.
§  Model-view-presenter MVP is a user interface design pattern derived from MVC engineered to facilitate automated unit testing and improve the separation of concerns in presentation logic
Model View ViewModel MVVM was designed to make use of data binding functions in WPF to better facilitate the separation of view layer development from the rest of the pattern by removing virtually all GUI code (“code-behind”) from the view layer

No comments: