- Mastering Microservices with Java 9(Second Edition)
- Sourabh Sharma
- 142字
- 2021-07-02 21:54:48
Multilayered architecture
Multilayered architecture is a common solution for DDD. It contains four layers:
- Presentation layer or User Interface (UI).
- Application layer.
- Domain layer.
- Infrastructure layer.

Layered architecture
You can see here that only the Domain layer is responsible for the domain model, and others are related to other components such as UI, application logic, and so on. This layered architecture is very important. It keeps domain-related code separate from other layers.
In this multilayered architecture, each layer contains its respective code, and it helps to achieve loose coupling and avoids mixing code from different layers. It also helps the product/service's long-term maintainability and the ease of enhancements, as the change of one-layer code does not impact on other components if the change is intended for the respective layer only. Each layer can be switched with another implementation easily with multi-tier architecture.
- JavaScript 從入門到項(xiàng)目實(shí)踐(超值版)
- Spring技術(shù)內(nèi)幕:深入解析Spring架構(gòu)與設(shè)計(jì)
- Visual Basic 6.0程序設(shè)計(jì)計(jì)算機(jī)組裝與維修
- PHP基礎(chǔ)案例教程
- 跟小海龜學(xué)Python
- 我的第一本算法書
- 深入淺出Windows API程序設(shè)計(jì):編程基礎(chǔ)篇
- 老“碼”識途
- SQL Server從入門到精通(第3版)
- Python忍者秘籍
- 區(qū)塊鏈技術(shù)進(jìn)階與實(shí)戰(zhàn)(第2版)
- 創(chuàng)意UI:Photoshop玩轉(zhuǎn)APP設(shè)計(jì)
- SpringBoot從零開始學(xué)(視頻教學(xué)版)
- Delphi開發(fā)典型模塊大全(修訂版)
- 物聯(lián)網(wǎng)系統(tǒng)架構(gòu)設(shè)計(jì)與邊緣計(jì)算(原書第2版)