Showing posts with label pattern. Show all posts
Showing posts with label pattern. Show all posts

Friday, October 21, 2011

Observer pattern

The essence of the Observer Pattern is to "Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically." GoF. Observer pattern is a subset of publish/subscribe pattern which allows a number of observer objects to see an event.

more on Alex Blog