- Mastering Microservices with Java
- Sourabh Sharma
- 122字
- 2021-07-02 13:03:37
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 divide the domain model into modules and set the relationship between those 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 with 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, reviews, and so on.
推薦閱讀
- Oracle WebLogic Server 12c:First Look
- TypeScript Blueprints
- Azure IoT Development Cookbook
- TypeScript圖形渲染實戰:基于WebGL的3D架構與實現
- Expert Data Visualization
- Spring Boot企業級項目開發實戰
- SQL Server從入門到精通(第3版)
- Android移動開發案例教程:基于Android Studio開發環境
- 軟件測試教程
- Qlik Sense? Cookbook
- Java程序設計實用教程(第2版)
- RESTful Web API Design with Node.js(Second Edition)
- HTML5 Game Development by Example:Beginner's Guide(Second Edition)
- C語言從入門到精通(第4版)
- 自然語言處理NLP從入門到項目實戰:Python語言實現