In this video, learn what declarative systems are and why they aren't particularly effective by looking at how ordering a book might happen in a declarative environment.
- [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 events, … what you would expect is a natural flow of communication …
- How DDD differs from other architectural approaches
- How DDD fits with agile
- Advantages of microservices
- Bounded contexts and entities
- Reactive vs. declarative systems
- Using event storming to develop a DDD architecture