Key Points

  • The Strategy pattern offers interchangeability among a family of algorithms.
  • The Template Method pattern localizes and protects the steps that make up an expected algorithm.
  • The Chain of Responsibility pattern forwards requests in succession to decouple the client from the receiver.
  • The Command pattern encapsulates the request to be carried out, decoupling the invoker from the request.
  • The Memento pattern externalizes an object's state.
  • Iterators can be external or internal.
  • The State pattern may appear to change its class.
  • Observers use push and pull methods to notify dependent objects about changes.
  • Behavioral patterns are concerned with the assignments of behaviors.

Get AdvancED ActionScript 3.0: Design Patterns now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.