- Mastering Microservices with Java 9(Second Edition)
- Sourabh Sharma
- 124字
- 2021-07-02 21:54:50
Modules
Modules are the best way to separate related business objects. These are best suited to large projects where the size of domain objects is bigger. For the end user, it makes sense to pide the domain model into modules and set the relationship between these modules. Once you understand the modules and their relationship, you start to see the bigger picture of the domain model, thus it's easier to drill down further and understand the model.
Modules also help in code that is highly cohesive, or that maintains low coupling. Ubiquitous language can be used to name these modules. For the table booking system, we could have different modules, such as user-management, restaurants and tables, analytics and reports, and reviews, and so on.
推薦閱讀
- 計算機網絡
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- Spring技術內幕:深入解析Spring架構與設計
- WebAssembly實戰
- 數據結構(Java語言描述)
- Learning DHTMLX Suite UI
- 單片機C語言程序設計實訓100例
- Python全棧數據工程師養成攻略(視頻講解版)
- C語言程序設計習題與實驗指導
- Python 3 Object:oriented Programming(Second Edition)
- HTML+CSS+JavaScript網頁制作:從入門到精通(第4版)
- Node.js 6.x Blueprints
- Elasticsearch搜索引擎構建入門與實戰
- JBoss AS 7 Development
- Puppet Cookbook(Third Edition)