loading...
Cover image for Design Pattern: The Compound Pattern

Design Pattern: The Compound Pattern

danlee0528 profile image Daniel Lee ・1 min read

The Compound Pattern, as its name already tells, is a collection of patterns. Patterns are often used together and combined within the same design solution. For instance, MVC architecture can be dissected into patterns.

  1. Model: Observer Pattern
    • The model keeps interested objects updated when state change occurs
  2. View: Composite Pattern
    • The view consists of a nested set of windows, panels, buttons, etc.
  3. Controller: Strategy pattern
    • The view is an object that is configured with a strategy. The controller provides the strategy and the view is concerned with visual aspects of an application.

Posted on by:

danlee0528 profile

Daniel Lee

@danlee0528

I love interactive & visual technology and playing with data.

Discussion

pic
Editor guide