is WPF THE choice for windows apps?

I am developping in Ironpython with Visual Studio 2010 through PTVS.

I see that WPF is quite slow compared to the silverlight equivalent... at least to me. My program does a lot of calculations but the user interface is really simple. I have read lots of WPF vs Silverlight questions and this one too. I heard about silverlight out-of-browser mode... I don't know what to think about it.

I am a little bit confused , I need my application to be fast, I don't need much things concerning the user interface. It is a windows app only, it is only destined to run on the user computer.

so, is wpf actually the best choice in this case?

Thanks


To be honest, contrary to all the other comments. I use WPF even for simple applications. In fact it really helps avoiding alot of necessary code on other ui frameworks. I like the fact that using WPF i can directly think about the data i'm going to modify, without writing alot of event handlers for adding items to collection, showing them in a list etc. Also WPF is not bound to use MVVM, just use a class that combines both view model and model. After using WPF alot, i can't imagine to use Windows Forms again.

But of course this is just my personal opinion. In the end always use the tool best suited for your problem at hand. If you don't know WPF and you want to use it just for a small applications, i would suggest windows forms or something else.


In my subjective opinion no. The best option would be winforms. I find it quicker in development and you have more documentation and support online. WPF is more user interface based and uses naturally the MVVM paradigm. For a simple app it is simply too much bloat.


If your user interface is really simple, then I'd say winforms would probably be simpler. WPF is very powerful but with power comes complexity and a learning curve.

Speed shouldn't be an issue though given a simple interface.

链接地址: http://www.djcxy.com/p/43638.html

上一篇: WPF相关性与HTML

下一篇: WPF是Windows应用程序的选择吗?