[英]What framework for MVVM should I use in Universal Apps
I will develop new Universal Apps and I was wondering which MVVM framework will be better for me: Prism for Windows Runtime or maybe MVVM Light. 我将开发新的Universal Apps,我想知道哪种MVVM框架更适合我:Windows运行时的Prism或MVVM Light。
I have a little experience in WPF and in my opinion in this scenario Prism offer more. 我对WPF有一点经验,我认为在这种情况下Prism可以提供更多的功能。 I'm developing also other Universal Apps and I'm using there MVVM light, but this project is simple and I use only binding, commands and ViewModelLocator.
我也在开发其他Universal Apps,并且正在使用MVVM light,但是该项目很简单,我仅使用绑定,命令和ViewModelLocator。
My new project will be more advanced and I don't know what is the better way and what kind of benefits I can obtain. 我的新项目将更加先进,我不知道有什么更好的方法以及可以获得哪些好处。
I'm interested in this this Prism version: enter link description here 我对此棱镜版本感兴趣: 在此处输入链接描述
I develop in WPF & learnt MVVM by writing my own simple framework. 我使用WPF进行开发,并通过编写自己的简单框架学习了MVVM。 It really helped me grasp a solid understanding of the fundamentals required.
它确实帮助我对所需的基础知识有了深刻的了解。 Really to get started you only only need to write a base class implementing INotifyPropertyChanged, an implementation of ICommand and decide whether to use View or ViewModel first principles.
真正开始时,您只需要编写实现INotifyPropertyChanged的基类,ICommand的实现并决定是使用View还是ViewModel第一性原则。
I wrote a blog with tutorials which cover these issues: 我写了一个博客,其中包含有关这些问题的教程:
I would prefer caliburn micro, its a very good framework, i also wrote 2 blog posts about it a few months ago if you want to have a look: 我更喜欢caliburn micro,它是一个非常好的框架,几个月前,我也写了2篇关于它的博客文章,如果您想看看:
Part 1 - MVVM Basics using Caliburn Micro 第1部分-使用Caliburn Micro的MVVM基础
I am sure if you search you will find a lot of tutorials on this framework... and I really like it. 我敢肯定,如果您进行搜索,将会发现很多有关此框架的教程……我真的很喜欢。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.