Continuing our journey through behavioral patterns
, this chapter will dissect the mediator, memento, and observer design patterns.
Sometimes you want objects of a system to communicate with each other. This communication can be one way or two way. The meditator and observer deal with how multiple objects send and / or receive messages to achieve communication.
The memento pattern concerns itself with the object’s state. It handles the storing and retrieving of an object’s state. To be specific, you will learn the following: ...