NYC DevReady: MVVM - Session 1 (of 5) - Demystifying XAML
MVVM. MVVM. MVVM. I bet you’ve seen that acronym more than three times before? Ever wonder what it means? I’ll tell you: “Model View-View Model”
Ever wonder what THAT means?! MVVM is a popular design pattern for coding the presentation layer in both Silverlight & Windows Presentation Foundation (WPF). It seems to be the rage that all the cool kids are doing these days, which means YOU should probably pay attention to it! Get your development skills ready for MVVM (Model View View Model Design Pattern) and build some exciting applications for WPF, Silverlight or Windows Phone.
On March 21st, 2011 in New York City, Microsoft hosted a DevReady MVVM event along with DevExpress. This was a free full day training event. We recorded the event, and now it is here on Channel 9 for your learning pleasure!
Pop on some headphones and listen & learn at your own pace!
There are six sessions in total:
Demystifying XAML: Achieving Your Moment Of Clarity
Still find XAML intimidating? Well, throw in MVVM and certain design practices and it can get worse. But the truth is that it isn't as complicated as it appears to be. In this short session, I'll give you the basics of how XAML works. I'll cover its syntax, control usage, the visual tree, and the scariest animal of all, binding. I'll give you your moment of clarity, I promise.
WPF overwhelmed us with the most powerful data binding ever released in a development platform. It seemed there was so much to learn in order to use it, but it really isn't that complicated. However, to use it to its full potential, you really do need to introduce the Model-View-ViewModel pattern. The ideas and goal around this pattern seem to vary from person to person, but the one thing that they all share is that it provides a point of binding for XAML pages. In this session, I'll show you what MVVM is and how to use it and what to put in it, in order to get maximum potential out of XAML binding.
Now that you’ve sat through my MVVM session (what? you didn’t?), I want to take it to the next level by continuing your studies into this awesome and necessary pattern. In this session, I’ll cover more advanced topics you use when programming using Model-View-ViewModel. These include Design-Time Data, ViewModel-First, Validation, and the ever-so-popular MVVM Frameworks. There I’ll actually show and give you a small MVVM framework with which to launch your development. Though I will do a brief review on the fundamentals and goals of MVVM and its usage, this session does expect a little bit of knowledge on the pattern from you.
Get a preview of upcoming Visual Studio features that will allow you to share code between Microsoft .NET platforms. You’ll learn how to structure applications to maximize the amount of shared code, how to write an app that’s used across Silverlight Desktop and Windows Phone, and how to build business logic and helper functions that work across all 3 Screens plus the cloud.
Understanding an architecture pattern like MVVM is great but many companies invest in third-party control suites to make their application development less painful. In this session, you'll learn how to leverage some great controls from DevExpress in conjunction with MVVM to build applications in both WPF and Silverlight.