Classic Layers architecture
In this and in the sections that follows we will describe some of the patterns and architectures that are commonly used with DDD. Some of them can be adopted in all projects, while others can only be used for certain Bounded Contexts.We start with classic Layers architecture since it is simpler to understand, and then, in the next section, we will describe the more sophisticated Onion architecture.The functionality of each application can be classified into three groups:
- Handling the interaction with the user.
- Performing business related processing.
- Interacting with the storage engine.
Each of the above groups uses a different language, and different technologies. The first group uses the language of the target users and user interface technologies, the second group uses the language of the domain expert and is focused on application domain modelling, and the third group uses both language and technologies related to databases.Classic Layers architectures...