I've seen many articles describing differences between Domain Model and Data Model. However none of the articles have picture representations showing difference.
Can someone provide a picture example showing difference, maybe a simple example with customers or orders, anything? I saw one example below from resource here, however the example difference seems very little (box in red) : https://study.com/academy/lesson/domain-model-vs-data-model.html
Can someone provide an example showing a larger difference between Domain and Data? This way readers can understand
Note: Seen article Why do 'some examples' and 'list of things' questions get closed? , yet have not read concise example on the internet showing Large differences between domain and data model, anything would help.
-
see Why do 'some examples' and 'list of things' questions get closed?gnat– gnat2018年08月22日 12:55:04 +00:00Commented Aug 22, 2018 at 12:55
-
1There's isn't a visual difference that defines the distinction. The difference is defined purely by their intention, i.e. what they represent. It's perfectly possible for your domain and data model to be near identical. The question as you have now posted it is hardly answerable. I suggest you rephrase to ask about the difference without explicitly asking for a visual explanation.Flater– Flater2018年08月22日 13:54:01 +00:00Commented Aug 22, 2018 at 13:54
1 Answer 1
I've seen many articles describing differences between Domain Model and Data Model. However none of the articles have picture representations showing difference.
Brian Lawler's article Domain First vs Schema First Architecture might help.
Or Scott Wambler Why Data Models Shouldn't Drive Object Models
Your best bet might be to look for domain models that use event sourcing. The distinction between the domain model and the data model may be more clear when the domain model looks like business entities and the data model looks like sequences of messages.
But my searches in that vein weren't able to turn up images that I thought would be helpful.
Explore related questions
See similar questions with these tags.