Domain-Driven Design in PHP
上QQ阅读APP看书,第一时间看更新

Chapter 6: Domain-Events

Domain Events are a great Inversion of Control (IoC) mechanism. In Domain-Driven Design, they're important for communicating different Bounded Contexts asynchronously, improving your Application performance using eventual consistency, and decoupling your Application from its Infrastructure.