The Publisher-Subscriber Pattern

Also called Observer and Observer-Observable.

Use this pattern to notify event handlers (Subscribers or Observers) when some interesting object (Publisher or Observable) changes state.

Structure

Behavior

Examples

Device Notification

Event Delegation

Spread Sheets

MFC's Document-View Architecture

AppFrame's Model-View-Controller Architecture

A C++ Implementation

Constraint Networks