3
Most read
11
Most read
12
Most read
UI DESIGN PATTERNS
Presented By
Aamir Ali Hussain
AGENDA
★What Is UI Design Patterns
★The UI design pattern formula
★Advantages
★Types Of design patterns
o MVC
o MVP
o MVVM
2
WHAT IS UI DESIGN PATTERN
User interface design patterns are descriptions of best practices within user
interface design. They are general, reusable solutions to commonly
occurring problems. As such, they form the backbone of “technical
support.”
Design patterns are concepts which have been fully fleshed out and are
applicable to more than one project.
The user interface (UI) is the point of human-computer interaction and
communication in a device
3
THE UI DESIGN PATTERN
FORMULA
UI design patterns include:
1. Problem: What does the user want to do?
2. Context: When should the pattern be used?
3. Solution: What is the solution?
4. Examples: Where and how has the pattern been implemented
before?
3
ADVANTAGES
Design patterns are useful in terms of:
 Saving time – a pre-built solution to a regularly occurring problem
means that there’s no need to reinvent the wheel, you can pull the
solution off the shelf and implement it
 Saving money – when you save time, you also save money in a
corporate environment
6
UI DESIGN ACTIVITIES
12
TYPES
There are 3 main design patterns which we talk while designing the GUI.
 MVC(Model view controller)
 MVP(Model view presenter)
 MVVM(Model view view model)
6
TYPES
Presentation Design Patterns
6
TYPES
So everything is in one place is always a bad idea for maintainability,
extendibility and testability prospective.
If you look at the big picture, you can feel that all these problems exist
because there is a very tight coupling between the following items.
o View (UI)
o Model (Data displayed in UI)
o Glue code (Event handling, binding, business logic).
MVC (model view controller), MVP (model view presenter) and MVVM
(model view view model) patterns allow us to develop applications with
loose coupling and separation of concern which in turn improve testability,
maintainability and extendibility with minimum effort.
6
TYPES
MVP
6
o MVP (model view presenter) pattern is one of the very popular patterns among
other design patterns available in the market.
o MVP is a variation of MVC pattern which is being used for so many decades.
o Simple definition of MVP is that it contains three components: Model, View and
presenter.
TYPES
MVP
6
Example :
MVP is often used in Android Applications. The Presenter is responsible to act as
the middle man between View and Model. It retrieves data from the Model and
returns it formatted to the View.
TYPES
MVC
6
TYPES
MVC
6
o In the MVC, the Controller is responsible for determining which View is
displayed in response to any action including when the application loads.
o In MVC, every action in the View basically calls to a Controller along with an
action.
o In web application, each action is a call to a URL and for each such call there is
a controller available in the application who respond to such call.
o Once that Controller has completed its processing, it will return the correct View.
TYPES
MVC
6
o Example :
o MVC is often used in web applications. The view in these applications is
the HTML or XHTML files created by the application.
o The controller receives the input in the form of getting input and it then manages
and handles the input to the model. The model contains the data and the rules on
the process of carrying a specific task.
TYPES
MVVM
6
TYPES
MVVM
6
o In MVVM, View Model does not need a reference to a view.
o The view binds its control value to properties on a View Model, which, in turn,
exposes data contained in model objects.
o In simple words, TextBox text property is bound with name property in View
Model.
o Model and View work just like MVC and “View Model” is the model of the
View.
TYPES
MVVM
6
Example :
MVVM described as an implementation of Presentation Model designed
specifically for WPF (and later, Silverlight).
The examples of the pattern often focus on XAML for the view definition and data-
binding for commands and properties.
THANK YOU!

More Related Content

PDF
User Experience 3: User Experience, Usability and Accessibility
PPTX
i/o extended: Intro to <UX> Design
PDF
UX RULES: 10 ESSENTIAL PRINCIPLES
PDF
UI & UX Design for Startups
PDF
What’s the difference between a UX and UI designer? (Part two)
PDF
Hci activity#1
PDF
What is UI/UX and the Difference
PDF
HCI Basics
User Experience 3: User Experience, Usability and Accessibility
i/o extended: Intro to <UX> Design
UX RULES: 10 ESSENTIAL PRINCIPLES
UI & UX Design for Startups
What’s the difference between a UX and UI designer? (Part two)
Hci activity#1
What is UI/UX and the Difference
HCI Basics

What's hot (20)

PDF
Psychology Human Computer Interaction
PDF
UX & UI Design - Differentiate through design
 
PDF
Ux design process
PPTX
UI/UX Fundamentals
PDF
Information Architecture Heuristics
PPTX
Understanding Information Architecture
PPT
User Interface Design in Software Engineering SE15
PPTX
UI vs UX workshop
PPT
User interface-design
PPTX
Heuristic evaluation
PDF
UI and UX Design for Startups - Matin Maleki
PPTX
10 Usability Heuristics for User Interface Design
PDF
The 10 Golden Usability Heuristics (Montreal Girl Geeks September 2014)
PDF
PDF
Introduction to User Experience Design
PPTX
User Centered Design
PPTX
UI UX Introductory session
PPTX
User interface design: definitions, processes and principles
PDF
UX Best Practices
PDF
UX/UI Design 101
Psychology Human Computer Interaction
UX & UI Design - Differentiate through design
 
Ux design process
UI/UX Fundamentals
Information Architecture Heuristics
Understanding Information Architecture
User Interface Design in Software Engineering SE15
UI vs UX workshop
User interface-design
Heuristic evaluation
UI and UX Design for Startups - Matin Maleki
10 Usability Heuristics for User Interface Design
The 10 Golden Usability Heuristics (Montreal Girl Geeks September 2014)
Introduction to User Experience Design
User Centered Design
UI UX Introductory session
User interface design: definitions, processes and principles
UX Best Practices
UX/UI Design 101
Ad

Similar to UI Design Patterns (20)

PPTX
Mvc vs mvp vs mvvm a guide on architecture presentation patterns
PPTX
Design Pattern - MVC, MVP and MVVM
PPTX
Design patterns in android
DOCX
Mvc, mvp & mvvm (erp)
PPT
Design pattern in android
PPTX
Training: MVVM Pattern
PPTX
MVVM - Model View ViewModel
PPTX
MVVM ( Model View ViewModel )
PPTX
Ios models
PDF
How I Accidentally Discovered MVVM
PPTX
Android DesignArchitectures.pptx
PPTX
Architectural Design Pattern: Android
PDF
MVC Seminar Presantation
PPTX
Architectural Design & Patterns
PDF
PPSX
Software Design Patterns
PDF
PPTX
Introduction to MVVM Framework
PPTX
Adopting MVVM
Mvc vs mvp vs mvvm a guide on architecture presentation patterns
Design Pattern - MVC, MVP and MVVM
Design patterns in android
Mvc, mvp & mvvm (erp)
Design pattern in android
Training: MVVM Pattern
MVVM - Model View ViewModel
MVVM ( Model View ViewModel )
Ios models
How I Accidentally Discovered MVVM
Android DesignArchitectures.pptx
Architectural Design Pattern: Android
MVC Seminar Presantation
Architectural Design & Patterns
Software Design Patterns
Introduction to MVVM Framework
Adopting MVVM
Ad

Recently uploaded (20)

PDF
Exploratory_Data_Analysis_Fundamentals.pdf
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
PDF
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
PPTX
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PPTX
Amdahl’s law is explained in the above power point presentations
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PPTX
Feature types and data preprocessing steps
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Management Information system : MIS-e-Business Systems.pptx
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPTX
introduction to high performance computing
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
Design Guidelines and solutions for Plastics parts
PPTX
Fundamentals of safety and accident prevention -final (1).pptx
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PDF
Abrasive, erosive and cavitation wear.pdf
Exploratory_Data_Analysis_Fundamentals.pdf
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
tack Data Structure with Array and Linked List Implementation, Push and Pop O...
Human-AI Collaboration: Balancing Agentic AI and Autonomy in Hybrid Systems
ASME PCC-02 TRAINING -DESKTOP-NLE5HNP.pptx
"Array and Linked List in Data Structures with Types, Operations, Implementat...
Amdahl’s law is explained in the above power point presentations
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Feature types and data preprocessing steps
III.4.1.2_The_Space_Environment.p pdffdf
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Management Information system : MIS-e-Business Systems.pptx
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
introduction to high performance computing
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
Design Guidelines and solutions for Plastics parts
Fundamentals of safety and accident prevention -final (1).pptx
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Abrasive, erosive and cavitation wear.pdf

UI Design Patterns

  • 1. UI DESIGN PATTERNS Presented By Aamir Ali Hussain
  • 2. AGENDA ★What Is UI Design Patterns ★The UI design pattern formula ★Advantages ★Types Of design patterns o MVC o MVP o MVVM 2
  • 3. WHAT IS UI DESIGN PATTERN User interface design patterns are descriptions of best practices within user interface design. They are general, reusable solutions to commonly occurring problems. As such, they form the backbone of “technical support.” Design patterns are concepts which have been fully fleshed out and are applicable to more than one project. The user interface (UI) is the point of human-computer interaction and communication in a device 3
  • 4. THE UI DESIGN PATTERN FORMULA UI design patterns include: 1. Problem: What does the user want to do? 2. Context: When should the pattern be used? 3. Solution: What is the solution? 4. Examples: Where and how has the pattern been implemented before? 3
  • 5. ADVANTAGES Design patterns are useful in terms of:  Saving time – a pre-built solution to a regularly occurring problem means that there’s no need to reinvent the wheel, you can pull the solution off the shelf and implement it  Saving money – when you save time, you also save money in a corporate environment 6
  • 7. TYPES There are 3 main design patterns which we talk while designing the GUI.  MVC(Model view controller)  MVP(Model view presenter)  MVVM(Model view view model) 6
  • 9. TYPES So everything is in one place is always a bad idea for maintainability, extendibility and testability prospective. If you look at the big picture, you can feel that all these problems exist because there is a very tight coupling between the following items. o View (UI) o Model (Data displayed in UI) o Glue code (Event handling, binding, business logic). MVC (model view controller), MVP (model view presenter) and MVVM (model view view model) patterns allow us to develop applications with loose coupling and separation of concern which in turn improve testability, maintainability and extendibility with minimum effort. 6
  • 10. TYPES MVP 6 o MVP (model view presenter) pattern is one of the very popular patterns among other design patterns available in the market. o MVP is a variation of MVC pattern which is being used for so many decades. o Simple definition of MVP is that it contains three components: Model, View and presenter.
  • 11. TYPES MVP 6 Example : MVP is often used in Android Applications. The Presenter is responsible to act as the middle man between View and Model. It retrieves data from the Model and returns it formatted to the View.
  • 13. TYPES MVC 6 o In the MVC, the Controller is responsible for determining which View is displayed in response to any action including when the application loads. o In MVC, every action in the View basically calls to a Controller along with an action. o In web application, each action is a call to a URL and for each such call there is a controller available in the application who respond to such call. o Once that Controller has completed its processing, it will return the correct View.
  • 14. TYPES MVC 6 o Example : o MVC is often used in web applications. The view in these applications is the HTML or XHTML files created by the application. o The controller receives the input in the form of getting input and it then manages and handles the input to the model. The model contains the data and the rules on the process of carrying a specific task.
  • 16. TYPES MVVM 6 o In MVVM, View Model does not need a reference to a view. o The view binds its control value to properties on a View Model, which, in turn, exposes data contained in model objects. o In simple words, TextBox text property is bound with name property in View Model. o Model and View work just like MVC and “View Model” is the model of the View.
  • 17. TYPES MVVM 6 Example : MVVM described as an implementation of Presentation Model designed specifically for WPF (and later, Silverlight). The examples of the pattern often focus on XAML for the view definition and data- binding for commands and properties.