In Eric Evans book on domain driven design it is written:
Domain modeling is not a matter of making as “realistic” a model as possible. Even in a domain of tangible real-world things, our model is an artificial creation. Nor is it just the construction of a software mechanism that gives the necessary results.
Now I have two questions:
Domain Model
should not reflect real world
. It should only show one point of view depending on the context.
Let's say we got a glass
.
to drink
.sell it
.how many
glasses I got here.Depending on the context, we model glass differently
. Still it is the same glass, but means something else.
All information related to the subject you can find on Udi Dahan's blog.
And more in the subject of modeling reallity, can be found here Don’t try to model the real world, it doesn’t exist.
Collected from the Internet
Please contact [email protected] to delete if infringement.
Comments