- Expert Android Programming
- Prajyot Mainkar
- 121字
- 2021-07-08 10:29:16
Clean Architecture Pattern
The Clean Architecture Pattern, in its simplest terms, means to write a clean code, by separating it into layers, with the outer layer being your implementations and the inner layer being the business logic. An interface connects these two layers, controlling how the outer layers use the inner layers.
This kind of code architecture pattern is also known as Onion Architecture because of its different layers, as seen in the following figure:

Figure 2.2.4
The inner layers have no idea about the outer layers. The outer layer uses the components from the inner layers based upon its needs, meaning the outer layers are dependent on the business logic implementations of the inner layers. Hence, the dependency points inwards.
推薦閱讀
- Instant Node Package Manager
- Learning LibGDX Game Development(Second Edition)
- 計算機網絡
- DB2 V9權威指南
- Mobile Application Development:JavaScript Frameworks
- Java完全自學教程
- MATLAB圖像處理超級學習手冊
- Three.js開發指南:基于WebGL和HTML5在網頁上渲染3D圖形和動畫(原書第3版)
- INSTANT Weka How-to
- Mastering Julia
- Java 從入門到項目實踐(超值版)
- Learning Splunk Web Framework
- Drupal 8 Development:Beginner's Guide(Second Edition)
- Python預測分析與機器學習
- 面向對象程序設計及C++(第3版)