Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Patterns - MVVM
Message
De
30/06/2010 09:07:36
 
 
À
30/06/2010 08:24:24
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01471057
Message ID:
01471064
Vues:
73
>I have been wanting to get a better handle on development using MVVM with WPF & Silverlight and trying to find good educational material. One book I have indicates using MVP but for the UI portion to use MVVM. What? That is confusing, then why have the M or VM?

Sounds a bit daft. What's the book?

>I saw what looks like a good book on this coming - "Pro WPF and Silverlight MVVM: Effective Application Development with Model-View_ViewModel" by Gary Hall (an Apress book) but it isn't scheduled to release until October.

Looks like that might be interesting......

>What or where is all the good stuff for learning the best practices to implement MVVM with WPF?

http://msdn.microsoft.com/en-us/magazine/dd419663.aspx for a good overview with example code. Beyond that there just seems to be a lot of 'bitty' examples on the web. I guess the good news is that if you write WPF apps with *no* code-behind for XAML pages/windows etc. and rely purely on databinding to the DataContext then you are, almost by definition, already using MVVM. AFAICS, the only bits missing from WPF are

(a) a delegate command structure that can work outside the WPF logical tree and
(b) a pattern to deal with messageboxes / modaldialogs

UPDATE: There's also this :http://joshsmithonwpf.wordpress.com/advanced-mvvm/

Best,
Viv
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform