This chapter presents you with three other behavioral patterns, which support communication between objects. Objects keep their independence and sometimes their anonymity. The iterator pattern is often used with array, collection, and dictionary objects. The mediator allows communication between two objects without knowing each other's identities and the observer patterns mirror the publish/subscribe methodologies that are well known in distributed systems.
This chapter is divided in three sections:
The iterator pattern
The mediator pattern
The observer pattern