I was wondering what benefits an MVVM framework could give me (such as mvvm light, prism, etc). If you can give me bullet points stating from most important to least important. I'm just trying to understand if I should use an MVVM framework or just hand code my own.
Asked
Active
Viewed 3,260 times
14
-
1Related http://stackoverflow.com/questions/2739675/what-wpf-frameworks-should-i-use – RQDQ Feb 07 '11 at 23:16
-
1not the same, he's asking what framework to use. not the benefits in using mvvm framework in general – Shai UI Feb 07 '11 at 23:28
-
1There are a number of similar questions on SO. i.e., http://stackoverflow.com/questions/2653096/why-use-mvvm , http://stackoverflow.com/questions/1644453/why-mvvm-and-what-are-its-core-benefits] , http://www.google.com/search?q=benefits+of+mvvm+site:stackoverflow.com – Metro Smurf Feb 08 '11 at 00:33
-
1metro, those are MVVM questions. not the BENEFITS of an MVVM FRAMEWORK Please read my question. thank you. – Shai UI Feb 08 '11 at 02:39
-
It's a correct question. I'm also interesting why some people use frameworks and what the frameworks give that I can't implement using just plain objects? – vortexwolf Feb 08 '11 at 09:33
-
This has already been asked http://stackoverflow.com/questions/1409553/what-framework-for-mvvm-should-i-use – Andrew Feb 09 '11 at 18:28
-
Using the MVVM frameworks out there shortcuts the process of developing the pattern. Like you I question the level of benefits these frameworks bring to the table as opposed to writing your own code to accomplish the same thing? I have not found a MVVM scenario yet that I could not hand code myself. I am working in UWP, Xamarin Forms, WPF and still have not needed a MVVM framework to accomplish my needs. – Ibrahim Malluf Jan 14 '17 at 00:45
2 Answers
5
You can get started with MVVM without a framework, and you can build up your own base code over time. It might help you learn the pattern better.
Once you understand it, you will better appreciate the power that a framework like Caliburn Micro gives you. The frameworks get all that base template code out of the way, of course, but they also can add advanced binding, action, and composition features.
I just listened to a podcast interview with the author of Caliburn Micro. Maybe it will help you:

sourcenouveau
- 29,356
- 35
- 146
- 243
1
mvvm light:
- Messages - simple way to exchange data between windows
- DispatcherHelper - allows to make updating controls from other threads easier
- and other link

mmatloka
- 1,986
- 1
- 20
- 46
-
thanks but I'm looking for what is general about these frameworks, not just mvvm light. (I am sure all these frameworks overlap somewhere) – Shai UI Feb 08 '11 at 02:43