Click here to Skip to main content
15,886,055 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have done quite a bit of research on how to use the MVVM pattern which includes looking at articles on this website, google, and MSDN, however, I am still confused on how to make and connect your Model, View, and View Model. Could someone perhaps explain what each portion of the MVVM pattern is, why it is preferred nowadays, and perchance an extremely simple code sample utilizing this pattern?
Posted

1 solution

"How to connect" is nearly as important as those three parts. This is one holistic architecture.

Frankly, I tend to think that true understanding of some well-known architectures only comes with experience in creation some architectures, perhaps not so universal and application-specific. However, I cannot insist that this view should be common. I think this article explains this architecture clearly enough (see also the referenced articles): http://en.wikipedia.org/wiki/Model_View_ViewModel[^].

See also: https://msdn.microsoft.com/en-us/magazine/dd419663.aspx[^].

If you think you would need some better explanation, perhaps you need to explain why do you feel that some Quick Answer written specially for you should explain the matter better than thoroughly written articles. Or, rather, you would need to ask some other question, more specific, addressing some of your particular concerns. In that case, it would be better to pay more effort, try some experimental application development and explain to us what have you tried so far.

Good luck.
—SA
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900