ArticleslgStudy

computer science

Interaction design pattern

Interaction design pattern is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Interaction design pattern rather than just read about it. In short: Interaction design patterns are design patterns applied in the context human–computer interaction, describing common designs for graphical user interfaces. A design pattern is a formal way of documenting a solution to a common design problem.

Key takeaways

  • Interaction design pattern belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Interaction design pattern to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Interaction design pattern from memory before moving on to harder problems.

Reference excerpt

Interaction design patterns are design patterns applied in the context human–computer interaction, describing common designs for graphical user interfaces. A design pattern is a formal way of documenting a solution to a common design problem. The idea was introduced by the architect Christopher Alexander for use in urban planning and building architecture and has been adapted for various other disciplines, including teaching and pedagogy, organization development and process, and software architecture and design. Thus, interaction design patterns are a way to describe solutions to common usability or accessibility problems in a specific context. They document interaction models that make it easier for users to understand an interface and accomplish their tasks.

History Patterns originated as an architectural concept by Christopher Alexander. Patterns are ways to describe best practices, explain good designs, and capture experience so that other people can reuse these solutions. Design patterns in computer science are used by software engineers during the actual design process and when communicating designs to others. Design patterns gained popularity in computer science after the book Design Patterns: Elements of Reusable Object-Oriented Software was published. Since then a pattern community has emerged that specifies patterns for problem domains including architectural styles and object-oriented frameworks. The Pattern Languages of Programming Conference (annual, 1994—) proceedings includes many examples of domain-specific patterns. Applying a pattern language approach to interaction design was first suggested in Norman and Draper's book User Centered System Design (1986). The Apple Computer's Macintosh Human Interface Guidelines also quotes Christopher Alexander's works in its recommended reading.

Libraries Alexander envisioned a pattern language as a structured system in which the semantic relationships between the patterns create a whole that is greater than the sum of its parts, much like the way that grammatical relationships between words make language meaningful. While some collections of patterns attempt to create the structural relationships needed to form a language, many others are simply an assemblage of patterns (and thus are more appropriately termed pattern libraries.)

Mobile interaction pattern libraries The popularity of mobile devices such as smartphones and tablets usher in a need for a library of mobile interaction design patterns. This need is driven by:

Differences in user behavior and interaction on mobile devices such as swipe and tap gestures, vis-a-vis interaction on a Desktop GUI, which is mouse-driven Differences in physical attributes between a mobile and a desktop device e.g. screen size, touch screen, etc. Design guidelines recommended by mobile OS e.g. iOS, Android

Elements To ensure utility for designers and developers, patterns must be easily findable and readable.

Common elements Though pattern descriptions vary somewhat, many pattern libraries include some common elements:

Pattern Name: Choosing a clear and descriptive name helps people find the pattern and encourages clear communication between team members during design discussions. Pattern Description: Because short names like "one-window drilldown" are sometimes not sufficient to describe the pattern, a few additional lines of explanation (or a canonical screenshot) will help explain how the pattern works. Problem Statement: Written in user-centered language, this communicates what the user wants to achieve or what the challenge is to the end-user. Use When: "Context of use" is a critical component of the design pattern. This element helps people understand situations when the design pattern applies (and when it does not.) Solution: The solution should explain "how" to solve the problem, and may include prescriptive checklists, screenshots, or even short videos demonstrating the pattern in action. Rationale: Providing reasons "why" the pattern works will reinforce the solution, though time-pressed developers may prefer to ignore this explanation. Examples: Each example shows how the pattern has been successfully applied This is often accompanied by a screenshot and a short description. Comments: Including a place for team members to discuss the use of the pattern helps maintain an active resource and keeps the team engaged.

Optional elements Pattern libraries can also include optional elements, depending on the needs of the team using them. These may include:

Implementation Specifications: A style guide with detailed information about font sizes, pixel dimensions, colors, and wording for messages and labels can be helpful for developers. Usability Research: Any supporting research from usability tests or other user feedback should be captured. This can also include feedback from developers, customer service, or the sales team. Related Patterns: The pattern library may include similar patterns, or it may be organized into a hierarchy of parent and child patterns. Similar Approaches: Since there are likely to be many possible solutions to this problem, teams may want a place to capture similar alternatives. Source Code: If the code is modular enough to be reused, then it can be included in the library as well.

Reasons to use design patterns Benefits of using interaction design patterns include:

Teaching novices some best practices and common approaches Capturing collective wisdom of designers across many uses and scenarios Giving teams a common language, reducing misunderstandings that arise from the different vocabulary Reducing time and costs in the design and development lifecycle Making usable designs the "path of least resistance" Eliminate wasted time spent "reinventing the wheel" Ensuring users have a consistent and predictable experience within an application or service

Advantages over design guidelines Guidelines are generally more useful for describing requirements whereas patterns are useful tools for those who need to translate requirements into specific software solutions. Some people consider design guidelines as an instance of interaction design pattern as they are also common approach of capturing the experience in interaction design. However, interaction design patterns usually have the following advantages over design guidelines:

… excerpt ends here. Continue reading the full article.

Worked examples

Example 1 — a first encounter with Interaction design pattern

Start with the simplest possible case. Write down what Interaction design pattern claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Interaction design pattern before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Interaction design pattern ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Interaction design pattern

In research
Interaction design pattern appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Interaction design pattern in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Interaction design pattern is common in secondary-school and first-year university syllabi. It links to neighbouring topics Software design patterns, so understanding it makes those chapters shorter.
In everyday life
Look for Interaction design pattern outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Interaction design pattern” →

How to study Interaction design pattern in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Interaction design pattern means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Interaction design pattern out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Interaction design pattern in simple terms?

Interaction design patterns are design patterns applied in the context human–computer interaction, describing common designs for graphical user interfaces. A design pattern is a formal way of documenting a solution to a common design problem.

Why does Interaction design pattern matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Interaction design pattern?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Interaction design pattern.

Tags

  • Software design patterns

Keep exploring