From the course: Software Architecture: Domain-Driven Design
Unlock the full course today
Join today to access over 22,600 courses taught by industry experts or purchase this course individually.
Demo: Entities
From the course: Software Architecture: Domain-Driven Design
Demo: Entities
- [Instructor] So now that we've got the flow under control, we have to start thinking about not what is happening, but how it's happening. Who's doing it, in other words? So the next step in this process is to start adding aggregates or entities or some kind of label of who is receiving the event and then doing work with the event. So the entities are all labeled with yellow stickies, so let's go to yellow here. The cart has been purchased, and we need to issue an invoice. Who's going to do that? So I'm going to just grab out of the hat a sales clerk, somebody whose job it is to issue invoices to customers. If you were working in a store, this is the equivalent of a cash register receipt. And the sales clerk is going to span these two events. By the same token, if we're requesting payment, we need a different kind of entity to do that. This kind of entity is going to be a cashier. In other words, I'm separating concerns…
Contents
-
-
-
-
-
-
-
(Locked)
What is event storming?2m 52s
-
(Locked)
The physical setup7m 57s
-
(Locked)
Demo: Events5m 6s
-
Demo: Activities flow4m 9s
-
(Locked)
Demo: Activities flow, part 22m 19s
-
(Locked)
Demo: Activities flow, part 35m 36s
-
(Locked)
Demo: Entities7m 3s
-
(Locked)
Demo: Contexts4m 1s
-
(Locked)
Demo: Context maps4m 28s
-
(Locked)
Demo: Entity maps2m 42s
-
(Locked)
-