Introduction To Useful WPF<br />Demystifying The Model-View-  ViewModel Design Pattern (MVVM)<br />Burke Holland<br />
About Me<br />A working guy<br />SharePoint, ASP.NET, WPF<br />Adobe Flex?<br />
WPF Overview<br />Windows Presentation Foundation<br />“a graphical subsystem for rendering user interfaces in Windows-bas...
Why You Should Use It<br />Design<br />Much more flexibility in the UI<br />Less need for 3rd party controls<br />Segmenta...
What’s The Difference<br />XAML based design vs. declarative object design<br />Like HTML for Windows Forms<br />Windows A...
You already know how to do it<br />Same file/code behind model<br />Many of the same UI controls with different or similar...
Visual Studio vs. Expression Blend<br />Why is there a new IDE?<br />You do not need both<br />But it really helps<br />Ot...
WPF vs. Silverlight<br />The difference is accessibility<br />The drawbacks to Silverlight<br />Data Access<br />Limited a...
WPF Out-Of-The-Box<br />Demo App<br />
MVVM<br />Problems with the traditional model<br />Tight coupling<br />Less flexible<br />More difficult to maintain and i...
Understandable Definition<br />Model = Data<br />View = WPF Forms<br />ViewModel<br />Think of it as your code-behind on s...
Why Now<br />“Databinding Rocks!” – Mike Eaton<br />Commanding<br />Data Modeling Tools<br />
Refactor The Demo<br />
Important MVVM/WPF Concepts<br />Single Responsibility Principle<br />Dependency Injection<br />Static Resources<br />
Resources<br />WPF/MVVM<br />Josh Smith (MSDN Article)<br />http://msdn.microsoft.com/en-us/magazine/dd419663.aspx<br />Sh...
Upcoming SlideShare
Loading in...5
×

Introduction To Useful Wpf

1,576

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,576
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
52
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Introduction To Useful Wpf

  1. 1. Introduction To Useful WPF<br />Demystifying The Model-View- ViewModel Design Pattern (MVVM)<br />Burke Holland<br />
  2. 2. About Me<br />A working guy<br />SharePoint, ASP.NET, WPF<br />Adobe Flex?<br />
  3. 3. WPF Overview<br />Windows Presentation Foundation<br />“a graphical subsystem for rendering user interfaces in Windows-based applications”<br />Its all about graphics<br />GDI subsystem is old<br />Taking advantage of advanced effects – DirectX<br />Gradients<br />Transparency<br />Animation<br />
  4. 4. Why You Should Use It<br />Design<br />Much more flexibility in the UI<br />Less need for 3rd party controls<br />Segmentation between designer and developer<br />Programming Model<br />Code behind<br />Support for new patterns<br />PRISM<br />MVP<br />MVVM<br />
  5. 5. What’s The Difference<br />XAML based design vs. declarative object design<br />Like HTML for Windows Forms<br />Windows And UserControls<br />
  6. 6. You already know how to do it<br />Same file/code behind model<br />Many of the same UI controls with different or similar properties<br />Its still just .NET<br />
  7. 7. Visual Studio vs. Expression Blend<br />Why is there a new IDE?<br />You do not need both<br />But it really helps<br />Other Tools<br />KXAML<br />XAMLPAD<br />
  8. 8. WPF vs. Silverlight<br />The difference is accessibility<br />The drawbacks to Silverlight<br />Data Access<br />Limited access to the framework<br />Not FULLY MVVM capable – yet<br />No commanding<br />
  9. 9. WPF Out-Of-The-Box<br />Demo App<br />
  10. 10. MVVM<br />Problems with the traditional model<br />Tight coupling<br />Less flexible<br />More difficult to maintain and implement<br />Model-View-ViewModel<br />Model-View-Presenter<br />2005 John Grossman <br />
  11. 11. Understandable Definition<br />Model = Data<br />View = WPF Forms<br />ViewModel<br />Think of it as your code-behind on steroids<br />
  12. 12. Why Now<br />“Databinding Rocks!” – Mike Eaton<br />Commanding<br />Data Modeling Tools<br />
  13. 13. Refactor The Demo<br />
  14. 14. Important MVVM/WPF Concepts<br />Single Responsibility Principle<br />Dependency Injection<br />Static Resources<br />
  15. 15. Resources<br />WPF/MVVM<br />Josh Smith (MSDN Article)<br />http://msdn.microsoft.com/en-us/magazine/dd419663.aspx<br />Shawn Wildermuth (MDSN Article)<br />http://msdn.microsoft.com/en-us/magazine/dd458800.aspx<br />
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×