Daniel Dao

50%
Flag icon
But there are cases when you have to implement a business process that spans multiple aggregates. Consider the following example: when an advertising campaign is activated, it should automatically submit the campaign’s advertising materials to its publisher. Upon receiving the confirmation from the publisher, the campaign’s publishing state should change to Published. In the case of rejection by the publisher, the campaign should be marked as Rejected. This flow spans two business entities: advertising campaign and publisher.
Learning Domain-Driven Design: Aligning Software Architecture and Business Strategy
Rate this book
Clear rating
Open Preview