Domain Driven Design Microservices Tutorial
In the context of building applications ddd talks about problems as domains.
Domain driven design microservices tutorial. Domain driven design concepts microservices hexagonal architecture and microservices. Ddd has two distinct phases strategic and tactical. If you don t need the complexity of domain driven design don t use it.
Implementing your domain model. This course is an introduction to domain driven design and how it applies to microservices. Establish the bounded context for your team and list your entities repositories value objects and services.
It describes independent problem areas as bounded contexts each bounded context correlates to a microservice and emphasizes a common language to talk about. Domain driven design ddd advocates modeling based on the reality of business as relevant to your use cases. Next you can follow the domain driven design ddd principles to create your microservices architecture.
Microservices and domain driven design ddd are not only about bounded contexts although a fundamental tool for defining granularity of microservices there are other important concepts as well. See the original article here. If you need a quick refresher or intro to ddd then you may refer to simple domain driven design building blocks here is a series of posts about microservices that elaborate more on the topic.
In strategic ddd you are defining the large scale structure of the system. Structure according to domain driven design. Each domain represents a business asset or capability.
In summary when you design microservices for an application use the principles of domain driven design to guide you along the way. The modeling of. Further each domain consists of multiple subdomains that perform actions related to this domain.