Design Patterns - Observer Pattern
Yesterday we saw the Strategy Pattern. Today I want to talk about the Observer Pattern.
First, the definition again: "Define a one-to-many dependency between objects so that when one object changes state, all its dependents are notified and updated automatically."
Read more at http://blog.cumps.be/design-patterns-observer-pattern/