Modern Angular Design PatternsBuy the book
PreviousNext

Chapter 12: Advanced Behavioral Patterns

Behavioral design patterns for clean communication between components and logic flow.

  • Mediator
  • Visitor
  • Strategy
  • Facade

What you can try in this demo

Nine demos put behavioral patterns to work: a Facade over one service and then several, a Mediator built on RxJS Subjects and on a global event bus, and Strategy for validation, runtime selection and edit modes. A Visitor renders a dynamic form, and the last demo combines the patterns to manage notifications in a dashboard.

This demo is chapter 12 of Modern Angular Design Patterns. The book walks through the code behind it.

Buy the book