Domain model or domain object? - Definitions

Please correct me if I am wrong.

We can say that the domain model to represent:

a) . In the M-structure of the MVC structure, which has M-parts, the Driven Design template is used.

b) The scheme of objects, their attributes and relationships in a certain way. It can also represent the M part in MVC, but in this case, regardless of the template used.

c) Domain model design template, where “the domain model creates a network of interconnected objects”;

d) As a domain object (it can be, for example, an object in our MVC model for a specific domain);

Is it possible to say that d) coincides with b) ?

Many thanks.

+3
source share
2 answers

Short answer: no, they do not match.

Domain objects are actually (deleted) .. look at the comment from @meze .. there is a link.

This part of “entity schema, their attributes and relationships” refers to the data structure. But domain objects do not need to know that they are stored or even storage exists. It is the responsibility of the level of data access.

And the domain model is a comprehensive structure that manipulates the various types and numbers of domain objects.

+5
source

A domain object is an element of a domain model. Domain object b) .

+3
source

All Articles