Mediator : Design Patterns in TypeScript

Channel:
Subscribers:
24,900
Published on ● Video Link: https://www.youtube.com/watch?v=ES2WBOhVIhM



Duration: 2:45
0 views
0


https://www.amazon.com/dp/B0948BCH24 : ASIN B0948BCH24
https://www.amazon.com/dp/B094716FD6 : ASIN B094716FD6

Documentation : https://sbcode.net/typescript/mediator/

Objects communicate through the Mediator rather than directly with each other.

As a system evolves and becomes larger and supports more complex functionality and business rules, the problem of communicating between these components becomes more complicated to understand and manage. It may be beneficial to refactor your system to centralize some or all of its functionality via some kind of mediation process.

The mediator pattern is similar to implementing the Facade pattern between your objects and processes. Except that the structure of the Mediator could also allow multi directional communication between each component and provide the opportunity to add some logic to the messaging flow to make it more cooperative in some way. E.g., managing the routing behavior by serializing or batching messages, the centralization of application logic, caching, logging, etc.

#mediatorPattern
#typescriptMediator
#mediatorPatternTypescript







Tags:
Design Patterns In TypeScript
TypeScript
Design Patterns
mediator
mediator pattern