liveBook · Manning

A Pattern Language

As explained in Microservices Patterns, Second Edition

A structured collection of related patterns describing recurring design problems and their interrelationships within a domain.

A pattern language is a collection of related patterns that solve problems within a domain. Each pattern describes a reusable solution to a recurring problem in a particular context. section 7.6.1

Patterns can address problems at different scales, from locating a city to designing a room. In software, a pattern defines collaborating elements that solve an architecture or design problem. section 7.6.1

Banking overdraft policies

A banking application with varied overdraft limits and fees can use the Strategy pattern: an Overdraft interface, concrete strategies, and an Account that uses them. section 7.6.1

Figure 7.11 The visual representation of different types of relationships between the patterns: a successor pattern solves a problem created by applying the predecessor pattern; two or more patterns can be alternative solutions to the same problem; one pattern can be a specialization of another pattern; and patterns that solve problems in the same area can be grouped, or generalized.
PatternRelationships

Use the diagram to distinguish successor patterns, alternatives, specializations, and patterns grouped or generalized within the same area. section 7.6.1

How Microservices Patterns, Second Edition covers it

How deep it goes
Defines patterns and pattern languages, then illustrates their scope with architectural and software examples.
Examples
Uses Alexander’s 253-pattern architecture collection and a banking overdraft Strategy example.
What you can do after
Understand how patterns address problems across a domain and relate as successors, alternatives, specializations, or groups.
How it connects
Connects software architecture and software design patterns, including the Strategy pattern.

Also explained in

Compare how 2 books explain A Pattern Language →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Microservices Patterns, Second Edition. The section links point to the parts of the book it draws on.