From the course: Software Architecture: Domain-Driven Design
Unlock the full course today
Join today to access over 24,500 courses taught by industry experts.
Orchestrated/declarative systems
From the course: Software Architecture: Domain-Driven Design
Orchestrated/declarative systems
- [Instructor] Now let's drill down even further and look at how the entities will communicate with each other as they're getting work done. There are two ways to do communication. One easy and the other one better. So let's start with easy because that's the way that is natural to most programmers. The easy way to do things is orchestrated or declarative systems. The basic idea of an orchestrated system is that one entity tells another entity what to do. So looking at our store example, you could have services representing the individual entities, a shopping cart service, a billing service, a warehouse service, an email service for example that might send emails off to your customers. Those services in a declarative world will tell each other what to do. The shopping cart tells the billing service to issue an invoice. It tells the warehousing service to queue an item up for shipping. So in the normal course of…