December 2019
Intermediate to advanced
510 pages
11h 33m
English
The mediator pattern is a way to encapsulate logic behind a unique entry point. It uses the concept of requests, responses, commands, or events to abstract the implementations behind a single entry point. This way of implementing the application logic helps the developers in your team keep the logic separated from the web part of the application. To understand how the mediator pattern works, let's take a look at its components.
The preceding schema describes a simple implementation of the mediator pattern. The consumer of the mediator calls the Send method by referring to the IMediator interface. The mediator implementation passes a specific type of the IRequest interface. Therefore, the Mediator instance ...
Read now
Unlock full access