Pattern Description Format
Patterns and Pattern Clusters
In this library, we use a grouping called a "pattern cluster", which brings together several closely related patterns. The name "pattern cluster" is unique to this library, but similar groupings also exist in Alexander’s pattern language.
A pattern cluster contains multiple patterns. A single pattern may belong to more than one pattern cluster. The patterns in a pattern cluster are sometimes used together, but not always. In some cases they are alternatives to one another; in other cases, a cluster gathers several patterns that tend to be considered together in similar contexts.
Pattern Description Format
Alexander himself described patterns without dividing them into detailed sections, but in terms of content, several elements are woven into every pattern description. The description format used in this library explicitly itemizes those elements. There are several such pattern description formats, and the format of this library is loosely based on "How to write a pattern? - A rough guide for first-time pattern authors, Tim Wellhausen and Andreas Fießer".
The pattern description format in this library is as follows.
-
Context
-
Problem
-
Forces
-
Solution
-
Example
-
Consequences
-
Related patterns
Context
Explains the background and circumstances in which the pattern arises. The context is not the "problem". The "problem" is more or less resolved by the pattern (that is why the pattern exists), whereas the context does not change as a result of applying the pattern. The context is not the problem, but the situation in which the problem occurs.
Problem
Describes what you want to solve within the context. Since the purpose of a pattern is to solve the problem described here, the problem must not be abstract; it must be something that can actually be solved.
Forces
In general pattern terminology, these are called "forces". Forces are the various factors that make the problem difficult to solve. A pattern must resolve the forces well in some way, but doing so may give rise to new points that require attention. How the forces are addressed is described in "Consequences", and the points that require attention are described under "Liabilities".
Solution
The solution describes what form the tool, that is, the object of design, should take in order to solve the problem within the given context. Since the object of design dealt with in this Pattern Library is a fusion_place application, the solution describes the concrete form of some part of the application.
Example
Describes examples of the solution. An example may be an explanation of the described solution using sample data, or a case in which the solution is applied (a use case). In either case, examples are given to help you understand what the solution is like.
Consequences
The solution is expected to resolve the forces well. For each of the forces listed in "Forces", "Consequences" describes how the solution resolves it. If a force is not resolved by the solution, it may be part of the context rather than a force.
"Consequences" consist of "Benefits" and "Liabilities". Benefits are the advantages users are expected to gain when the solution is applied. On the other hand, partial constraints may arise in the process of the solution resolving the forces. For example, if you install a lock on your door to prevent theft of household goods, you then have to manage the key. Such liabilities are also described in relation to the forces.
Related patterns
Applying one pattern creates opportunities to apply other patterns. As other patterns are applied one after another, the overall design gradually takes shape. To facilitate this process, the relationships between patterns are described here. Patterns that represent a different approach to a similar problem in a similar context are also mentioned here.