GUI patterns : My understanding

0 %
100 %
Information about GUI patterns : My understanding

Published on March 12, 2014

Author: nitinbhide



my understanding of various GUI patterns MVC, MVP, MVVM etc.

GUI Patterns : my understanding Nitin Bhide

Model - View  Separation between ◦ data and ◦ its display representation.  Also known as ‘Document/View’  Used in MFC

Model –View Model/ Document ViewImpl1 ViewImpl2 IView

Model -View–Controller (MVC)  Separation among ◦ data and ◦ its display representation and ◦ manipulation of data

MVC - Structure

MVC - Implementation  Model ◦ Model either doesn’t know about View or knows view through interface. ◦ Models doesn't know about controller.  View ◦ View knows the concrete instance of model. ◦ View doesn't know about controller. Or may know it through interface  Controller ◦ Controller knows both Views and Model.

MVC - Consequences  Clear separation. Worked well in Desktop applications as well as Web applications.  Difficult to write automated tests for Controllers

Model-View-Presenter  Separation among ◦ data and ◦ its display representation and ◦ manipulation of data  Somewhat similar to MVC

MVP - Structure

Model-View-ViewModel  Separation among ◦ data and ◦ Maintaining transient state and manipulation of model data. Allow data binding ◦ its display representation and  In GoF terms, ViewModel is an adapter between View and Model  Used in WPF

MVVM - Structure

MVVM - Implementation  Model ◦ Doesnot know about View ◦ Doesnot know about ViewModel or may know about ViewModel through interface  ViewModel ◦ Knows about Model ◦ Doesnot know about View or knows about view through interface  View ◦ Knows about ViewModel ◦ Doesn’t know about Model

MVVM - Structure


Contact Visit the website Feel free to email me at Join the discussions on ‘nitinsknowledgeshare’ Google Group

References  Presentation Model Pattern by Martin Fowlers tionModel.html  Prism: Patterns For Building Composite Applications With WPF by Glenn Block in/magazine/cc785479%28en-us%29.aspx

Add a comment

Related presentations

Presentación que realice en el Evento Nacional de Gobierno Abierto, realizado los ...

In this presentation we will describe our experience developing with a highly dyna...

Presentation to the LITA Forum 7th November 2014 Albuquerque, NM

Un recorrido por los cambios que nos generará el wearabletech en el futuro

Um paralelo entre as novidades & mercado em Wearable Computing e Tecnologias Assis...

Microsoft finally joins the smartwatch and fitness tracker game by introducing the...

Related pages

GUI Architectures - Martin Fowler

GUI Architectures. There have been many ... for understanding the patterns that ... and kept the GUI completely within Smalltalk. In my discussion of MVC I ...
Read more

GUI Programming - Java Programming Tutorial

Java Programming Tutorial ... is one of the 23 GoF's design patterns. ... For using NetBeans GUI Builder, read my "Writing Java GUI ...
Read more

Functional GUI Testing Automation Patterns -

... InfoQ Homepage Articles Functional GUI Testing Automation Patterns. ... understanding of the system, ... Email me replies to any of my messages in this ...
Read more

Graphical Patterns - Dave Seah

I was browsing through secretrobot and came across a lot of interesting entries. In particular, the one on GUI Design Patterns caught my eye. As in ...
Read more

Gui My Buttons - Documents -

GUI patterns : My understanding my understanding of various GUI patterns MVC, MVP, MVVM etc. Please don't push my buttons This is the emergency ...
Read more

User Interface Design Pattern Library. UI patterns for web designers. See screenshot examples and learn how to do great design like the pros.
Read more

Understanding Basics of UI Design Pattern MVC, MVP and ...

Understanding Basics of UI Design Pattern MVC, ... All these patterns are different but have a common objective that is ... so I think my understanding is ...
Read more

Understanding Interface-based Programming

Understanding Interface-based Programming. Visual Studio 6.0 ... An understanding of interface-based programming will make you a much stronger COM ...
Read more

A Learning Guide To Design Patterns - Industrial Logic

A Learning Guide To Design Patterns ... Having spent close to three years running a study group devoted to understanding ... Over the course of my ...
Read more