Skip to content

Latest commit

 

History

History
33 lines (14 loc) · 677 Bytes

File metadata and controls

33 lines (14 loc) · 677 Bytes

The Compound pattern is the practice of utilizing multiple patterns.

Below is the example showing how patterns Strategy, Adapter, Decorator, Factory, Composite, and Observer are working together:

Strategy:

Compound: step 1 - Strategy

Adapter:

Compound: step 2 - Adapter

Decorator:

Compound: step 3 - Decorator

Factory:

Compound: step 4 - Factory

Composite:

Compound: step 5 - Composite

Observer:

Compound: step 6 - Observer