Monday, August 22, 2022

Architecture

 A layered architecture is used to build applications based on domain-driven design. It consists of three main layers:

  • Domain
  • Application
  • Infrastructure


Domain Layer


A domain layer is used to encapsulate the domain model and its behavior. The domain model should not depend on anything else and it should be agnostic to the technicalities of the clients it serves and data stores that persist in the domain objects.

Application Layer

The application layer is used to process business use cases.

Infrastructure


The infrastructure layer is concerned with purely technical capabilities.



No comments:

Post a Comment