198
CHAPTER 6 | Tackle Business Complexity in a Microservice with DDD and CQRS Patterns
Basically, the application logic is where you implement all use cases that depend on a given front end.
For example, the implementation related to a Web API service.
The goal is that the domain logic in
the domain model layer, its invariants,
the data model, and
related business rules must be completely independent from the presentation and application layers.
Most of all, the domain model layer must not directly depend on any infrastructure framework.
Dostları ilə paylaş: