Cyberiafreak

"Fortunate are those who take the first steps.” ― Paulo Coelho

All about Model View ViewModel (MVVM) ? – Points to Note

* Its an architectural pattern used in software engineering that originated from Microsoft
* targeted at modern UI development platforms (WPF and SL)
* View-Model is responsible for exposing the data objects from the Model in such a way that those objects are easily managed and consumed. In this respect, the View-Model is more Model than View, and handles most if not all of the View’s display logic 
* Pattern is designed to support WPF and Silverlight

Elements of the MVVM pattern include:
   (1) Model as in the classic MVC pattern, the model refers to the data access layer representing the real state content.
   (2) View as in the classic MVC pattern, the view refers to all elements displayed by the GUI such as buttons, windows, graphics, and other controls.

   (3) ViewModel: the ViewModel is a “Model of the View” meaning it is an abstraction of the View that also serves in data binding between the View and the Model. It could be seen as a specialized aspect of what would be a Controller (in the MVC pattern) that acts as a data binder/converter that changes Model information into View information and passes commands from the View into the Model. The ViewModel exposes public properties, commands, and abstractions. The ViewModel has been likened to a conceptual state of the data as opposed to the real state of the data in the Model.
src(wikipedia)

Advertisements

July 28, 2009 - Posted by | .NET General

2 Comments »

  1. Gr8 Research !http://www.ajaix.spaces.live.com/

    Like

    Comment by Ajai | July 29, 2009 | Reply

  2. wow what an explanation, great, truly amazing, incredible. Keep up the good work!

    Like

    Comment by Sunil | May 17, 2011 | Reply


Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: