Entities are the things that actually do the work within a context. They are context sensitive, however, concerned with only those things that make sense within the context. In this video, learn what entities are and about how they interact. This video also shows why it makes sense for entities in different contexts to have the same name by looking at several entities in your online store application.
- [Instructor] Now let's take that picture … we were just looking at … and think of it in terms of the implementation … or the data model. … If you were thinking about data, … in particular if you're thinking about a traditional way … of building a system, … where you think about the data model first, … you're probably thinking in terms of normalization … and relational databases. … And in that kind of world, … when you look at modeling the way the entities look, … you'd end up with a picture that looks rather like this one. … You'd have context that contain things … that are obviously within that context, … but outside of the context, … you'd have entities that were independent, … that somehow had to work in multiple contexts … at the same time. … In a domain driven design world, … that's considered a bad thing … is that every entity should be associated … with some context or another. … Now getting back to the ubiquitous language issue, … you'll remember that things like orders, … and customers, and so forth will be treated differently …
- 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