Publish/Subscribe Pattern
A publish/subscriber pattern (in short pub-sub) is sometimes also referred to as Event Aggregation. In this pattern, different components of the application communicate with a topic/event channel. When using this pattern, the components of the application are loosely coupled. Unlike observer pattern where all the observers depend on the notifications from a subject, in the