Implementation

Having decided on the architectural styles used for publishing Events, the SaaSOvation team is now focused on the implementation of components to accomplish that . . .

Image

The core of notification publishing behavior is placed behind an Application Service, the NotificationService. That allowed the team to manage the transactional scope of changes in their own data source. It also emphasized that notification is an application concern, not a domain concern, even though the Events being published as notifications originated in the model.

There was no need for the NotificationService to have a Separated Interface [Fowler, P of EAA] ...

Get Implementing Domain-Driven Design now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.