- 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.
推薦閱讀
- Visual FoxPro程序設計教程(第3版)
- 華為HMS生態與應用開發實戰
- HBase從入門到實戰
- Processing互動編程藝術
- Hands-On Enterprise Automation with Python.
- Building Serverless Applications with Python
- 劍指Java:核心原理與應用實踐
- Node.js全程實例
- Mastering Android Development with Kotlin
- Oracle GoldenGate 12c Implementer's Guide
- Raspberry Pi Robotic Blueprints
- Exploring SE for Android
- PHP+MySQL動態網站開發從入門到精通(視頻教學版)
- Mastering ArcGIS Server Development with JavaScript
- Python面向對象編程(第4版)