2 ms·
It's basically Domain Driven Design combined with SOLID principals. If you have a Customer domain and an Order domain, as tempting as it is to join the two rel
by scarface74 8y ago
It's basically Domain Driven Design combined with SOLID principals. If you have a Customer domain and an Order domain, as tempting as it is to join the two related tables in code, avoid it. Have another service (not http service/domain service) aggregate information from both domains.
It's then mechanically trivial to split the Customer module and the Orders module both the code and the data store.