3 ms·
Ok, so this is a way of decomposing just the domain model into smaller parts: a minimal model, role objects that extend it for particular purposes, and context
by extension 15y ago
Ok, so this is a way of decomposing just the domain model into smaller parts: a minimal model, role objects that extend it for particular purposes, and context objects that assemble a set of models and roles for a particular use case.
The rationale is, presumably, that you can add and change particular use cases independently of each other and the core model.
Right?
- andrzejkrzywda 15y agoYes, exactly. The idea is that the Data doesn't change that often, so it's kept separate from the things that change frequently - roles, use-cases. Exposing use-cases is also an important goal, usually they are scattered across the codebase.