Home > DeveloperSection > Interviews > What is MVVM Pattren?

Posted on    July-17-2013 2:07 AM

 WPF WPF 
Ratings:
 1 Answer(s)
  1572  View(s)
Rate this:

Madam Walker
Madam Walker

Total Post:4

Points:20
Posted on    July-17-2013 12:00 AM

Model-View-ViewModel (MVVM)

This pattern splits the User Interface code into 3 conceptual parts - Model, View and ViewModel.

 Model

This is a set of classes representing the data coming from the services or the database.

 View

This is the code corresponding to the visual representation of the data the way it is seen and interacted with by the user.

 ViewModel

serves as the glue between the View and the Model. It wraps the data from the Model and makes it friendly for being presented and modified by the view. ViewModel also controls the View's interactions with the rest of the application


Don't want to miss updates? Please click the below button!

Follow MindStick