启动WPF MVVM。使用框架? [英] Starting WPF MVVM. Use a framework?

查看:240
本文介绍了启动WPF MVVM。使用框架?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我看了看这里的一些问题在堆栈溢出如这样&安培; MIX10构建自己的MVVM框架

I took a look at some questions here at stack overflow like this & mix10 building your own mvvm framework

我不知道作为一个初学者它能够更好地从头开始(但我从VID,它不建议听说过),或者使用一个框架

I wonder if as a beginner its better to start from scratch (but I heard from the vid, its not recommended) or use a framework

也哪个更适合作为一个初学者学习的框架?我觉得读书好几篇文章,甚至视频教程后,我还是挺丢失。我可能会得到部分在这里和那里,但仍然不存在。

also which is more suited as a beginner framework to learn? I find that after reading quite a few articles or even tutorial videos I am still quite lost. I may get parts here and there but still not there.

<一个href="http://caliburnmicro.$c$cplex.com/wikipage?title=Introduction&referringTitle=Documentation"相对=nofollow>卡利微的一个较小的框架,简单易学?什么从微软像MVVM工具包或Unity /棱镜(最新的差异赌这一切的MS框架BTW)? MVVM轻?

caliburn micro a smaller framework easy to learn? or something from microsoft like MVVM toolkit or Unity/Prism (whats the diff bet all this MS frameworks btw)? MVVM Light?

推荐答案

我的$ 0.02:1

My $0.02 :

我使用WPF /的MVVM图案在几个星期前,一个途径,我可以肯定建议首先开始测试项目,阅读了很多关于MVVM,并试图实现它自己(即使它是刚刚开始通过使用别人的东西部件)。 实施东西,阅读一些,回去换东西,然后读更多一些。

I've started using WPF / the Mvvm-pattern a few weeks ago and one route I can definitely recommend is first starting a test-project, reading a lot about mvvm, and trying to implement it yourself (even if it's just by using parts of other people's stuff). Implement something, read some more, go back and change stuff, and then read some more.

做到这一点的第2周,你会得到一个什么样它实际上是一回事,你会看到一些问题的想法,并找到了一些解决方案,等等。 Basicly这将得到MVVM-想法在你的手指,并给你一些实践经验。

Do this for the first 2 weeks and you'll get an idea of what it's actually all about, you'll see some problems and find some solutions, etcetera. Basicly this will get the mvvm-idea in your fingers and give you some hands-on experience.

然后,如果你喜欢,你可以扔掉你的测试项目,据此决定是否或不的真正的开始写你自己的东西,或使用现有工具包,并可能有更多的AP preciation和理解的方式现有的包工作。

Then if you like you can throw away your test-project, decide wether or not to really start writing your own stuff or using an existing kit, and probably have more appreciation and understanding for the way existing kits work.

我结束了不使用现有的工具包,但我自己的非常简单的实现,因为我并不需要太多的复杂性,我的项目,但我确实得到了更多的AP preciation了一些实现我见过的讨论上在interwebs。

I ended up not using an existing kit but my own very simple implementation since I didn't need much complexity for my project, but I did get a lot more appreciation for some implementations I've seen discussed on the interwebs.

编辑: 当我谈到两个星期我的意思是两个星期业余的,这是大约25真正的小时; - )

When I talk about "two weeks" I mean "two weeks of sparetime" which is about 25 real hours ;-)

这篇关于启动WPF MVVM。使用框架?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆