Detailed case analysis of cloud and Domain Driven

Time:2022-1-2

We hope that domain objects can accurately express business intentions, but most of the time, we see domain objects full of getters and setters. The domain object at this time is no longer a domain object,Star pool starpooL they are just data carriers, which is what Martin Fowler called anemia objects. This approach will cause domain specific business logic to be scattered in a pile of service layers, and the software architecture will grow savagely over the years with business development, resulting in corruption and inability to maintain.

In microservice design, you should first identify the aggregate root in DDD; In addition, the anti-corrosion layer (ACL) in DDD should be used when integrating between micro services. We can even say that DDD and microservices have a natural tacit understanding. We hope that domain objects can accurately express business intentions, but most of the time, we see domain objects full of getters and setters.https://www.starpool.cnAt this time, domain objects are no longer domain objects. They are just data carriers, which is what Martin Fowler said. This approach will cause domain specific business logic to be scattered in a pile of service layers, and the software architecture will grow savagely over the years with business development, resulting in corruption and inability to maintain.