Skip to content

Patterns

Patterns are part of the engine that powers a component.

Creational

Abstract the instantiation process

  • Make the system independent of how components are created
  • Class pattern: Uses inheritance to vary the class' instantiation
  • Creational Pattern: Delegate instantiation
  • Composition over Inheritance

Structural

Concerned with how components are composed to form larger structures

Behavioral

Concerned with algorithms and the assignment of responsibilities

  • Patterns of communication between behaviors
  • Characterize complex control flow that's difficult to follow at run-time
  • Shift focus from flow of control to how things are connected