-1

I've seen many articles describing differences between Domain Model and Data Model. However none of the articles have picture representations showing difference.

https://stackoverflow.com/questions/3507671/whats-the-difference-between-data-modelling-and-domain-modelling

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

enter image description here

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.

  • 1
    There'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 Aug 22 '18 at 13:54
2

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.

enter image description here

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.