How much realistic should be a model in domain driven design?

Mohammad Rahmani

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:

  1. Should a model be designed somehow that it could evolve to a more realistic shape whenever NEEDED without touching the core model in previous iteration?
  2. If the answer to the previous question is positive, where can I learn how to create realistic core models?
  3. Again if the answer to the question one is possible, would a day come that our model reflects any problem in the world?
Dariss

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.

  • One may think, well it's a glass and we can fill it with water. It is used to drink.
  • Other may think, well it's a product and we can sell it.
  • Another one may say, glass an inventory item. I don't care how does it looks like, but 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.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

How to model capacity (value and unit) in Domain Driven Design?

From Dev

How to add scheduled jobs in domain driven design

From Dev

Should Entities in Domain Driven Design and Entity Framework be the same?

From Dev

Domain Driven Design - where should we put repositories?

From Dev

Layers in Domain Driven Design

From Dev

How to handle Domain Driven Design when domain is dynamic / changes

From Dev

How to handle Domain Driven Design when domain is dynamic / changes

From Dev

Domain Driven Design - Domain or Security

From Dev

Domain Driven Design - How to handle updates for parts of your aggregrate roots

From Dev

Domain driven design: How to deal with complex models with a lot of data fields?

From Dev

How does Get method fits in domain driven design

From Dev

Domain Driven Design - How to handle updates for parts of your aggregrate roots

From Dev

Access Control in Domain Driven Design

From Dev

Domain Driven Design and batch processing

From Dev

Implementing Domain Driven Design Cost

From Dev

Implementing Domain Driven Design Cost

From Dev

Domain Driven Design Bounded Context Domain Objects

From Dev

Domain Driven Design: infrastructure concern or domain concern?

From Dev

Domain Driven Design: infrastructure concern or domain concern?

From Dev

Domain Driven Design. Entity type design

From Dev

In Domain-Driven Design, how to determine if sending an email is an application level or domain level concern?

From Dev

Implementing Paging and Sorting with Domain Driven Design

From Dev

Implementing Domain-Driven Design and Transactions

From Dev

Domain driven design repository implementation in infrastructure layer

From Dev

Domain Driven Design in Node.js Application

From Dev

Fetching associated aggregates in Domain driven Design

From Dev

Domain Driven Design - CQRS + ES usage

From Dev

Where is the call to persistence in the domain driven design

From Dev

Implementing Domain Driven Design Book Confusion

Related Related

  1. 1

    How to model capacity (value and unit) in Domain Driven Design?

  2. 2

    How to add scheduled jobs in domain driven design

  3. 3

    Should Entities in Domain Driven Design and Entity Framework be the same?

  4. 4

    Domain Driven Design - where should we put repositories?

  5. 5

    Layers in Domain Driven Design

  6. 6

    How to handle Domain Driven Design when domain is dynamic / changes

  7. 7

    How to handle Domain Driven Design when domain is dynamic / changes

  8. 8

    Domain Driven Design - Domain or Security

  9. 9

    Domain Driven Design - How to handle updates for parts of your aggregrate roots

  10. 10

    Domain driven design: How to deal with complex models with a lot of data fields?

  11. 11

    How does Get method fits in domain driven design

  12. 12

    Domain Driven Design - How to handle updates for parts of your aggregrate roots

  13. 13

    Access Control in Domain Driven Design

  14. 14

    Domain Driven Design and batch processing

  15. 15

    Implementing Domain Driven Design Cost

  16. 16

    Implementing Domain Driven Design Cost

  17. 17

    Domain Driven Design Bounded Context Domain Objects

  18. 18

    Domain Driven Design: infrastructure concern or domain concern?

  19. 19

    Domain Driven Design: infrastructure concern or domain concern?

  20. 20

    Domain Driven Design. Entity type design

  21. 21

    In Domain-Driven Design, how to determine if sending an email is an application level or domain level concern?

  22. 22

    Implementing Paging and Sorting with Domain Driven Design

  23. 23

    Implementing Domain-Driven Design and Transactions

  24. 24

    Domain driven design repository implementation in infrastructure layer

  25. 25

    Domain Driven Design in Node.js Application

  26. 26

    Fetching associated aggregates in Domain driven Design

  27. 27

    Domain Driven Design - CQRS + ES usage

  28. 28

    Where is the call to persistence in the domain driven design

  29. 29

    Implementing Domain Driven Design Book Confusion

HotTag

Archive