GoF Design Patterns – Observer Design Pattern
The Observer Design Pattern is a behavioral pattern that defines a one-to-many dependency between objects. When the state of one object changes, all of its dependents are notified and can react automatically to the change in the observed object. …