- 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.
推薦閱讀
- Dynamics 365 for Finance and Operations Development Cookbook(Fourth Edition)
- Pandas Cookbook
- Clojure for Domain:specific Languages
- 前端架構(gòu):從入門到微前端
- Hadoop+Spark大數(shù)據(jù)分析實(shí)戰(zhàn)
- Java程序設(shè)計(jì)與實(shí)踐教程(第2版)
- PostgreSQL Replication(Second Edition)
- Flutter跨平臺(tái)開(kāi)發(fā)入門與實(shí)戰(zhàn)
- Microsoft Azure Storage Essentials
- 編程菜鳥(niǎo)學(xué)Python數(shù)據(jù)分析
- Building Microservices with .NET Core
- Julia 1.0 Programming Complete Reference Guide
- Django實(shí)戰(zhàn):Python Web典型模塊與項(xiàng)目開(kāi)發(fā)
- HTML5游戲開(kāi)發(fā)實(shí)戰(zhàn)
- Visual FoxPro數(shù)據(jù)庫(kù)程序設(shè)計(jì)