Click here to Skip to main content
15,907,497 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi all,

I have tried using the MVVM design pattern in WPFbut have found it challenging.

Could anyone point me in the direction of some tutorials in how to use MVC/MVP in WPF.

I have searched this but unfortunately I havent found anything relevant.

Thanks in advance.
[no name] 18-Oct-11 11:21am    
MVVM is based on MVC so if you find the former challenging how the latter be less challenging?

MVVM is the predominant pattern for WPF.

This article[^] by Josh Smith[^] is one of the best on the internet. It is challenging but then, as one of my previous Directors was wont to say "If it was easy the girls could do it".

[edit]Out, damned apostrophe![/edit]
Share this answer
Simon Bang Terkildsen 18-Oct-11 11:58am    
An old chauvinist I see :P
Richard MacCutchan 18-Oct-11 12:16pm    
It was our Director who said it, not me, referring to the PA/secretaries. And, in an environment where we did employ women in technical roles, but I guess he never realised that was what they did. It was the late 70s/early 80s.

Simon Bang Terkildsen 18-Oct-11 12:25pm    
hehe, that's a few years before I were even born. It was in the 20th century where programming were actually hardcore stuff, I've always wanted to be part of that.
Now it's just architecture and design that's hardcore. I might have a glorified view of you "old" programmers, if so let me keep it :)
Espen Harlinn 18-Oct-11 19:18pm    
Nice link :)
MVVM is really the pattern you should go for, just spend more time on it and you'll get it. If you absolutely want to use MCV/MVP then see how it's implemented in WinForms and you should be able to implement it in WPF.

WPF patterns : MVC, MVP or MVVM or..?[^] might be of some interest to you.
Share this answer
Espen Harlinn 18-Oct-11 19:18pm    
Nice link :)
Simon Bang Terkildsen 19-Oct-11 11:24am    
Thank you :)

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900