- 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.
推薦閱讀
- Vue.js設計與實現
- GitLab Cookbook
- Learning Apex Programming
- vSphere High Performance Cookbook
- 精通軟件性能測試與LoadRunner實戰(第2版)
- Spring Boot實戰
- Kubernetes進階實戰
- C++ Application Development with Code:Blocks
- Mastering Adobe Captivate 7
- 愛上C語言:C KISS
- Visual C++開發寶典
- jQuery Mobile Web Development Essentials(Second Edition)
- 基于MATLAB的控制系統仿真及應用
- 前端架構設計
- Hands-On GUI Application Development in Go