An Introduction to the Model-View-ViewModel Pattern

Slides:



Advertisements
Similar presentations
Module 1: Creating an Application by Using Windows Presentation Foundation Overview of WPF Creating a Simple WPF Application Handling Events and Commands.
Advertisements

Expression Blend 4 – deep dive
Silverlight is dead! Long live MVVM!
MVVM Basics with Caliburn.Micro Presented by Stefan Nuxoll, Lithium PC.
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
UI Application Logic Out of the box approach View ViewModel Model Model-View-ViewModel (MVVM)
MVVM: Filling the Pattern Gap in Silverlight Application Development Bart McDonough Principal Consultant Incline Technical Group.
USING THE MODEL-VIEW- VIEWMODEL PATTERN Laurent Bugnion Director, User Experience Integration IdentityMine
Practical MVVM Joel Cochran.
Knockoutjs and JQuery The One-Two Punch for Richer MVC 4 Applications Connecticut.NET Developers Group November 13, 2012.
An Introduction to the Model-View-ViewModel Pattern Srsly? Another MV* Pattern? Srsly? Another MV* Pattern?
Essentials of Developing Windows Phone Apps Chinthaka Dissanayake Tech Lead Exilesoft.
Or How I Learned to Stop Worrying and Love the Binding Bryan Anderson.
An Introduction To Silverlight Gergely Orosz
Esri International User Conference | San Diego, CA Technical Workshops | ArcGIS API for Microsoft Silverlight – Advanced Topics Morten Nielsen
Windows Presetation Foundation (WPF) 1. Introduction.
WPF MVVM Training Michael Sync (Silverlight MVP).
Microsoft Focus & Expertise We have a world-class team of Microsoft experts that can make any other platform integrate better with an existing enterprise.
Real world Windows Phone development Igor
Thomas Spiegl Manfred Geiler Irian Solutions - The Software Experts
Building Silverlight Applications Using the MVVM pattern An Introduction by Peter Messenger Senior Developer – Qmastor
Shailen Sukul Senior Solutions Architect EMC BSc | Mct | Mcpd (.Net 2/3.5) | Mcts (Sharepoint (MOSS/WSS), Biztalk, Web, Win, Dist Apps) | Mcsd.NET | Mcsd.
Joe xamlcoder.com/blog Silverlight / WPF Consultant.

.NET Database Technologies: Introduction to WPF and Entity Framework DataBinding.
MVC and MVP. References enter.html enter.html
Todd Snyder Development Team Lead Infragistics Experience Design Group.
A Jumpstart to WPF by Kevin Grossnicklaus ArchitectNow.
Building an Offline Smart Client using Domain-Driven Design Principles Tim McCarthy.
Windows Phone MVVM and Unit Testing Step by Step Andy Wigley Windows Phone Development MVP, Mobile Software Consultant APPA Mundi Ltd WPH208.
Nikhil Kothari Software Architect Microsoft Corporation Session Code: WUX312.
Jordan Knight Senior Consultant Readify ARC 301 About Me Jordan Knight Senior Consultant at Readify
Windows 10 UWP MVVM In Depth
Overview of the MVVM pattern for Silverlight and WPF.
04 |Sharing Code Between Windows 8 and Windows Phone 8 in Visual Studio Ben Riga
Platform abstractionSeparate UI and logic.
Model View ViewModel Architecture. MVVM Architecture components.
Testing WebForms w/ Model-View-Presenter Erik Peterson.
MVVM Pattern Mahender Senior Software Engineer United Health Group.
Windows 8 apps and the MVVM pattern SILVERLIGHTSHOW.NET WEBINARS SERIES GILL CLEEREN, October 16 th
© Copyright SELA software & Education Labs Ltd Baruch Hirsch St.Bnei Brak Israel
Programming with MVVM Miguel A. Castro Architect -
Understanding Dependency Injection… and those pesky containers Miguel A. Castro Architect -
Vladimir Milev New Venture Software Sharing Code between WPF and Universal Apps.
/DEV/TM #1 Building Cross-Platform Apps with Xamarin and MvvmCross Flavius-Radu DEMIAN.
Part of the Microsoft.NET Framework 3.0 Tomer Shamam.NET Technologies Expert Sela Group
The cutting edge event for ITPros and Devs December 7-8, 2013 Athens, Greece Fix it once use it everywhere Elias Markelis MCT, Windows Phone Enthusiast.
Adam Schultz MVVM and WPF. MVVM Model, View, ViewModel A software architecture designed to separate out User Interface design, Business Logic, and Data.
In Windows 8 Store Applications
Real world Windows Phone development
MVVM Made Simple with Prism
Better Unit Tests through Design Patterns: Repository, Adapter, Mocks, and more… Benjamin
Build Windows 10 UWP MVVM Apps with Prism
Building Web Applications with Microsoft ASP
It’s a Knockout! MVVM Style Web Development
Unit Testing & Test-Driven Development for Mere Mortals
Jessica Betts, Sophia Pandey, & Ryan Amundson
Miguel A. Castro Architect IDesign
Unit Testing & Test-Driven Development for Mere Mortals
WPF AKEEL AHMED.
Introduction to the MVVM Pattern
.NET and .NET Core 7. XAML Pan Wuming 2017.
תכנות אסינכרוני, תקשורת ופיתוח אפליקציות ל-Windows 8
Rich single page applications with SharePoint
What’s new for Windows 8 Devs Part 2
Unit Testing & Test-Driven Development for Mere Mortals
XAML Deep Dive for Windows & Windows Phone Apps Jump Start
Architecting Silverlight Applications with MVVM
Data/Code driven UI using WPF part 2
Tech Ed North America /6/2019 2:07 PM Required Slide
Presentation transcript:

An Introduction to the Model-View-ViewModel Pattern rakeshk@damcogroup.com rakesh308@gmail.com

WPF Intoduced in 3Framework 3.0. XAML UI Language. Vector Based rendering. Rich Composition ……………. TWO WAY DATABINDING

What is MVVM? Model View ViewModel

Standing on the Shoulders of Giants MVC MVP Martin Fowler Josh Smith John Gossman Sean Wildermuth

Why MVVM? Separation Of Concerns Test Driven Approach Code Cleanliness & Modular Approach Support WPF two way Data binding feature.

How Do We Achieve that? View ViewModel Model

DONOT FOLLOW THIS View View View ViewModel Model

A More Complete Diagram Unit Tests Integration Tests View XAML, Code Behind Bindings Behavior Actions ViewModel Properties, Commands, View Logic Data Events Model Service Proxies Web

DEMO – SAMPLE

MVVM Guidelines 1. Reduce or eliminate your code-behind 2. Bind all of your UI inputs/outputs to your ViewModel 3. Implement INotifyPropertyChanged on your ViewModel 4. When testing, treat ViewModel as the Real UI 5. Avoid events. Use commands instead

Third Party Support Prism MVVM Light Caliburn Silverlight FX