多么糟糕的是WPF的学习曲线? [英] How bad is the WPF Learning Curve?

查看:587
本文介绍了多么糟糕的是WPF的学习曲线?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已阅读并从几个人的 WPF 有一个非常陡峭的学习曲线听到(视如何知识渊博或有经验的你)。好像大多数人能够得到演示或起动器项目的工作,然后发现自己陷入了对杂项问题的时间长度。我很好奇什么特别难学或理解(图层,SDK, XAML ,数据装订等),如果你对如何避免任何建议/减轻一些那些艰难的议题是什么?

I've read and heard from several people that WPF has a pretty steep learning curve (depending on how knowledgeable or experienced you are). Seems like most people can get the demo or starter projects to work, and then find themselves getting stuck for lengths of time on miscellaneous problems. I'm curious what specifically is difficult to learn or understand (layers, SDK, XAML, data binding, etc.) and if you have any suggestions on how to avoid/alleviate some of those difficult topics?

推荐答案

是WPF不同;没有得到来自路程。

WPF is different; there is no getting away from that.

我的主要建议是不要怕XAML的;拥抱它,那就是权力所在

让我解释一下: - !

Let me explain:-

有关我是富有成效的,我喜欢在文本视图写XAML,我可以在几个按键创建窗口的裸露布局。如果你经常键入的代码,那么这是开发Windows一个非常快速的方式。然后,您可以使用可视编辑器,使它看起来很漂亮。

For me to be productive, I prefer to write XAML in the text view as I can create the bare layout of the window in a few keystrokes. If you regularly type code then this is a very quick way to develop windows. You can then use the Visual editors to make it look pretty.

如果你一直在你的心中的XAML中的每个元素将新的的对象和该XAML元素的每一个属性是对象的属性,你可以认为XAML为对象的创建和属性分配。非常类似于编写代码。

If you keep in your mind that each element of the XAML will "new" that object and that each attribute of that XAML element is a property of the object, you can think of XAML as object creation and assignments of properties. Very similar to writing code.

如果您在可视化设计花太多的时间,那么你没有得到欣赏这一点,对一些这将减缓学习曲线

If you spend too much time in the visual designer then you do not get to appreciate this, and for some this will slow down the learning curve.

最近 Hanselminutes 播客可能感兴趣你。

A recent Hanselminutes podcast may interest you.

我还建议大力学习视图和视图的模型早期的概念,即使你不同意所有这些都是的CompositeWPF 因为这确实有助于。

I also advise strongly to learn early the concepts of Views and View-Models, even if you do not subscribe to all that is part of CompositeWPF as this really does help.

这篇关于多么糟糕的是WPF的学习曲线?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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