Skip to content

Compound Pattern

Problem: In situations where we have a number of patterns that work together to solve a related set of problems, how do we simplify the user experience and increase the value and power of the patterns? How do we ensure that related patterns are used together consistently and correctly?

Solution: Create a pattern that is a composite of other patterns. Combine patterns into a larger-grained unit that can easily be consumed by the Pattern User. As a result, the Pattern User needs to know only how to apply the compound pattern rather than the set of patterns encapsulated within.

Related Patterns and Guidelines: Limited Points of Variability, Pattern Implementation Extensibility

Associated Tasks: Design a Pattern

%d bloggers like this: