Saturday, May 12, 2007

Observer Pattern

defines a one-to-many dependency between objects so that when one object changes state, all of its dependents are notified and updated automatically.

eg: weather-o-rama
real-world:
-publisher/subscribers - newspaper
-msmq message notification

No comments: