简体   繁体   English

我应该在Universal Apps中使用哪种MVVM框架

[英]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: 我写了一个博客,其中包含有关这些问题的教程:

WPF Retraining at 30 WPF再培训30岁

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基础

Part 2 - Navigation 第2部分-导航

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.

相关问题 当数据来自实体框架时,我应该使用MVVM吗? - Should I use MVVM when the Data comes from Entity Framework? WPF:为什么我应该使用现有的MVVM框架而不是编写自己的框架? - WPF: Why should I use an existing MVVM framework instead of writing my own? 如何在Universal Apps中通过触摸操作扩大框架元素? - How do I enlarge a Framework Element by Touch Manipulation in Universal Apps? 使用Mvvm的通用Windows应用程序,无法使用资源resw文件 - universal Windows apps using Mvvm, can't use resource resw file 我应该在MVVM的模型中使用ObservableCollections吗? - Should I use ObservableCollections in the Model in MVVM? 对于Windows 10通用应用程序,我们应该使用什么代替LoadStateEventArgs? - What should we use instead of LoadStateEventArgs for Windows 10 Universal App? 什么版本的 .Net 框架应该针对最终用户应用程序 - What version of .Net framework should be targeted for end user apps 简单Universal Apps MVVM示例不适用于按钮单击 - Simple Universal Apps MVVM example not working for the Button Click 在Universal Apps中使用.net Framework程序集 - Using .net Framework Assemblies in Universal Apps 我应该使用哪种模式从Asp.Net应用程序中的远程源加载数据? - What pattern should I use to load data from remote sources in Asp.Net apps?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM