delphi programming forums mysql charset mget recursive synonimos
free ventrilo servers hosting cs javascript delay python find in list
Back Forum New
abstract:

Have you switched over to WPF? I'm trying to convince myself, as looking at the applications built on WPF, its hard to resist as a developer.


I've considered making the switch to WPF and XAML but I'm not sure how effective it is right now, as I've read a lot regarding the slow performance and bad response times for their applications with RUI's.
Have you switched over to WPF? I'm trying to convince myself, as looking at the applications built on WPF, its hard to resist as a developer.

TOP

I thought you already were using WPF.
How long are you going to keep polling different forums here about WPF. Stop waffling and just start learning it.
Even if you don't end up using it professionally yet, the new perspective you'll gain is well worth it.

TOP


Originally Posted by LyonHaert
I thought you already were using WPF.
How long are you going to keep polling different forums here about WPF. Stop waffling and just start learning it.
Even if you don't end up using it professionally yet, the new perspective you'll gain is well worth it.
I'm definitely learning it right now, I'm just trying to get some information. I know developers around these parts are pretty smart, so using their feedback is always a good way to learn.
I am using WPF right now, but not primarily, I'm trying to see what developers think will happen, and if its worth making the switch to primarily developing on WPF.
Sorry if I wasn't clear.

TOP


(Okay. It's just that you keep asking in different ways, in different forums on the same board. That says to me that you're seeking some sort of external justification.)
Overall, I think it will be used more and more. Sure, you can make things pretty. Everybody likes pretty interfaces. That's not what makes it great. It's powerful and flexible way beyond anything I've used before, such as WinForms.
"Primarily developing in WPF" isn't for everyone, of course. It really depends on the project and its target audience.
As for performance, there are many factors involved. Here's an example: in WinForms, if you were loading a thousand items into a ListBox, it would be a real performance drain if you didn't call BeginUpdate() and EndUpdate() on it.
Because of WPF's sophistication, there are a number of new ways to kill your app's performance. If you load up on BitmapEffects, yeah, you're going to kill the performance, especially if the machine doesn't have enough hardware acceleration to handle that rendering on the GPU instead resorting to the software rendering pipeline.
But there are other, subtler ways to defeat your app's performance, like doing anything in a manner that is more complicated or more resource-hungry than necessary. A DataTemplate with lots of heavy objects in its element tree is of course going to be a bigger performance drain in a ListBox of a thousand objects using that DataTemplate. You mitigate that cost by trimming down the DataTemplate or using virtualization in whatever Panel you're using for the ListBox (which is why the default ItemsPanel for the ListBox is a VirtualizingStackPanel).
And, as with anything .NET, the first time MSIL executes, it has to be compiled into native code, and the runtime caches that. I've noticed delays from that in the early minutes of using any .NET app (not just WPF). That, too, can be mitigated.

TOP

abstract:

Have you switched over to WPF? I'm trying to convince myself, as looking at the applications built on WPF, its hard to resist as a developer.



Originally Posted by User 17
I've considered making the switch to WPF and XAML but I'm not sure how effective it is right now, as I've read a lot regarding the slow performance and bad response times for their applications with RUI's.
Have you switched over to WPF? I'm trying to convince myself, as looking at the applications built on WPF, its hard to resist as a developer.
In the last month I developed a new software in WPF and I realized that at first sight WPF has too many cons to push youself to choose it. Infact, in my opinion, it has a too high learning time, low performance and push the developer to get bad habits.
But after a month of developing and try to solve many doubts, now I kwow that Wpf has also many pro. Infact it allow many things that is no possible or difficult to do with WinForm. It make possible to have a good graphical design and sometimes makes the software more elegant.
In this month I ask myself so many times, if it's worth spend so much time in this language and now I know that it's useful.
If you want I can post many link to wpf useful resources. Bye

TOP

Back Forum