MVVM Pattern Mahender Senior Software Engineer United Health Group.

Slides:



Advertisements
Similar presentations
MVVM Overview Frank Shoemaker MindCrafted Systems
Advertisements

Printing Feature in SL4 Mahender Senior Software Engineer United Health Group.
Silverlight is dead! Long live MVVM!
A component- and message-based architectural style for GUI software
Developing HTML5 Application using MVVM pattern Pekka Ylenius.
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
Lessons learned from developing a Windows 8 Metro application in C# Frode Nilsen Nilsen Labs Ticki.
Practical MVVM Joel Cochran.
An Introduction to the Model-View-ViewModel Pattern Srsly? Another MV* Pattern? Srsly? Another MV* Pattern?
An Introduction To Silverlight Gergely Orosz
WPF MVVM Training Michael Sync (Silverlight MVP).
A Good UX How To Make It Happen EAE 4023, UNITE 2010 Tuesday, 9:15 am May 25 th 2010 Niels Gebauer Director Client Tools Consultancy
Ronnie Saurenmann Principal Architect Microsoft Switzerland
Satzinger, Jackson, and Burd Object-Orieneted Analysis & Design
Real world Windows Phone development Igor
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.
Travis Chen Senior Developer 10 Nov 2011 MS Dynamics CRM 2011 Integration with SharePoint.
Joe xamlcoder.com/blog Silverlight / WPF Consultant.

Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Laurent Bugnion Senior Software Engineer Siemens Building Technologies.
Design for Testability: Mocks, Stubs, Refactoring, and User Interfaces Benjamin Day.
Presenter - Donn Felker.  Senior Consultant for Microsoft Gold Certified Partner- Statêra.  8 years of experience in developing and architecting enterprise.
@benday #vslive Better Unit Tests through Design Patterns: Repository, Adapter, Mocks, and more… Benjamin
MVC and MVP. References enter.html enter.html
Todd Snyder Development Team Lead Infragistics Experience Design Group.
Microsoft Confidential ASP.NET Broadest reach Most mature dev platform Silverlight Broad reach Rich, Interactive UI WPF Richest, Interactive UI.
Building an Offline Smart Client using Domain-Driven Design Principles Tim McCarthy.
1 Another group of Patterns Architectural Patterns.
Architectural Patterns Support Lecture. Software Architecture l Architecture is OVERLOADED System architecture Application architecture l Architecture.
Model View Controller MVC Web Software Architecture.
JAVASCRIPT WITH A VIEW Jordan Knight Solution Architect Xamling SESSION CODE: WEB305 (c) 2011 Microsoft. All rights reserved.
Nikhil Kothari Software Architect Microsoft Corporation Session Code: WUX312.
Overview of the MVVM pattern for Silverlight and WPF.
SEA Side – Extreme Programming 1 SEA Side Software Engineering Annotations Architectural Patterns Professor Sara Stoecklin Director of Software Engineering-
 An essential supporting structure of any thing  A Software Framework  Has layered structure ▪ What kind of functions and how they interrelate  Has.
Dependency Property Mahender Senior Software Engineer United Health Group.
Virtual techdays INDIA │ November 2010 Building Visual Studio LightSwitch Application Kunal Chowdhury │ Software Engineer, Silverlight MVP.
Model View ViewModel Architecture. MVVM Architecture components.
Testing WebForms w/ Model-View-Presenter Erik Peterson.
Interaction classes Record context Custom lookups.
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 -
Benjamin Unit Testing & Test-Driven Development for Mere Mortals.
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.
Beyond Basic Unit Testing: Mocks, Stubs, User Interfaces, and Refactoring for Testability Benjamin Day
Adam Schultz MVVM and WPF. MVVM Model, View, ViewModel A software architecture designed to separate out User Interface design, Business Logic, and Data.
Real world Windows Phone development
MVVM Made Simple with Prism
Better Unit Tests through Design Patterns: Repository, Adapter, Mocks, and more… Benjamin
Unit testing your metro style apps built using XAML
Building Web Applications with Microsoft ASP
It’s a Knockout! MVVM Style Web Development
Managed Extensibility Framework
Routed Events Mahender Senior Software Engineer United Health Group.
Unit Testing & Test-Driven Development for Mere Mortals
Miguel A. Castro Architect IDesign
Chapter 13 Logical Architecture.
Introduction to the MVVM Pattern
Chapter 13 Logical Architecture.
Working across the .NET Continuum
XAML Deep Dive for Windows & Windows Phone Apps Jump Start
Architecting Silverlight Applications with MVVM
Validation Errors Mahender Senior Software Engineer
Tech Ed North America /6/2019 2:07 PM Required Slide
An Introduction to the Model-View-ViewModel Pattern
Chapter 13 Logical Architecture.
Presentation transcript:

MVVM Pattern Mahender Senior Software Engineer United Health Group

Having 5 years of experience on.NET Technologies. Working as a Senior Software Engineer in United Health Group (UHG India Information Service Ltd.). Worked with Big Firms like Deloitte Consulting & Wipro Technology. Got Technical Acquaintance on Technologies like C#, ASP.NET,AJAX, LINQ, Silverlight, WPF,WCF,SQL Server, Team Foundation Server(TFS) and SharePoint Technology. MCTS Certified in Web Technologies. Blog :

Everything in code behind, is not a good idea

Basic Motivation of separation pattern – Removing logic from Code behind – Interchanging UI screens – Create Unit test case foe logic and UI – Developers and Designers can work parallel. – Model never needs to be changed to support changes to the view – No duplicated code to update views So what is MVVM ? – Its variation of MVC pattern – John Gossman from WPF team – Resources from external assemblies – Martin Fowler's Presentation Model (PM) pattern Martin Fowler's Presentation Model (PM) pattern

View Knows VIEW MODEL VIEW MODEL Knows MODEL BUT VIEWMODEL does not know View

Represents the user interface that the user will see. Can be a user control or Data Template Keep the view as simple as possible. Uses Binding to “subscribe” to the ViewModel Interprets business data and state of ViewModel to the human Nothing but Presentation - XAML No or minimal code-behind

An abstraction of View Connector between View and Model Keep View State, Value Conversion No strong or weak (via Interface) reference of View Make VM as testable as possible (e.g. no call to Singleton class) No Control related Stuff in VM Provides data to and from the View Responds to both the View and the Model Informs the View of changes in the data Reusable (at least much more than code behind a form)

Can be Data Model, DTO, POCO, auto- generated proxy of domain class and UI Model based on how you want to have the separation between Domain Service and Presentation Layer No reference to View Model Typical class that covers a database Could be a WCF Service and its client reference

WPF Team : MVVM ToolkitMVVM Toolkit MS Pattern and Practice Team : Composite WPF (Prism)Composite WPF (Prism) Josh Smith. "MVVM Foundation"MVVM Foundation Sacha Barber. "Cinch."Cinch Karl Shifflett. "Ocean"Ocean Laurent Bugnion. "MVVM Light Toolkit"MVVM Light Toolkit Lester Lobo. "CoreMVVM"CoreMVVM Rob Eisenberg. "Caliburn"Caliburn William e Kempf. "Onyx"Onyx Peter O’Hanlon. "GoldLight"GoldLight jbe. "WPF Application Framework (WAF)"WPF Application Framework (WAF) Paul Stovel : MacroModelsMacroModels