Polski

Behavioral patterns

Mediator

Centralises communication so objects stop depending on each other directly.

Article

Mediator: components talk through a coordinator

The Mediator pattern through the order form of a pierogi place: the delivery choice, address, time slot and button do not know each other, and the rules of their cooperation live in one place. Plus an honest look at MediatR and code in five languages.

Related articles

Around the topic

In this group: Behavioral patterns