180 likes | 366 Views
Joe McBride @xamlcoder xamlcoder.com/blog Silverlight / WPF Consultant. UI Design Patterns. Foundation Expression Blend with Silverlight. Victor Gaudioso. Agenda. What & Why? Model View Controller (MVC) Model View Presenter (MVP) Model View View-Model (MVVM) Recap. What & Why?.
E N D
Joe McBride @xamlcoder xamlcoder.com/blog Silverlight / WPF Consultant UI Design Patterns
Foundation Expression Blend with Silverlight Victor Gaudioso
Agenda • What& Why? • Model View Controller (MVC) • Model View Presenter (MVP) • Model View View-Model (MVVM) • Recap
What • What is an Algorithm? • “an algorithm is an effective method for solving a problem using a finite sequence of instructions” - Wikipedia
What • What is a Design Pattern? • “a general reusable solution to a commonly occurring problem in software design … a description or template for how to solve a problem that can be used in many different situations” - Wikipedia
Why? • Separate concerns – logic versus presentation • Better design, easier to maintain • Easier to do automated testing • Reuse logic across multiple applications • Be kind to your designers
MVVM Pattern Diagram View Change Notification DataBinding & Commands ViewModel Model