Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Design Patterns - MVVM
Message
De
30/06/2010 10:36:32
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
30/06/2010 09:07:36
Information générale
Forum:
ASP.NET
Catégorie:
Windows Presentation Foundation (WPF)
Divers
Thread ID:
01471057
Message ID:
01471074
Vues:
72
Hi Viv,

>>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

I only recently started working with WPF in any real effort and I got the basics of Xaml. Now I need to figure out how to architect it correctly so started looking. I did see Josh's e-book but at 51 pages and the titled of "Advanced" I was looking for something more entry level. At 15 bucks it is worth getting regardless.

I also had seen Josh's article from MSDN but forgot about it when I was looking for a more in depth book. Thanks for pointing me back to this as it will be a good starting point. I get the drift of MVVM no problem, but trying to apply the hookups directly with WPF is the challenge to learn.

Thanks again
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform