Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9182047
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T18:28:03+00:00 2026-06-17T18:28:03+00:00

From DDD: Tackling Complexity in the Heart of Software (pg. 159/160): When database schema

  • 0

From DDD: Tackling Complexity in the Heart of Software (pg. 159/160):

When database schema is being created specificaly as a store for the objects, it is worth accepting
some model limitations in order to keep the mapping very simple

…

This does entail some sacrifice in the richness of the object model, and sometimes compromises have
to be made in the database design (such as selective denormalization), but to do otherwise is to
risk losing the tight coupling of model and implementation.

…

But it is crucial that the mappings be transparent, easily understandable by inspecting the code or
reading entries in the mapping tool.

…

When database is being viewed as an object store, don’t let the data model and the object model
diverge far, regardless of the powers of the mapping tools. Sacrifice some richness of object
relationships to keep close to the relational model.

I do understand that with simpler mappings the Data Mappers will be easier to maintain, less buggy etc, but I don’t understand why we could also risk losing the tight coupling between a Domain Model and DM’s implementation by making mappings between DM and Data Model complex.

Namely, when creating a DM, we should try to be oblivious of how non-domain layers will be implemented and what techologies they will use. And since Data Mappers resides within DAL ( thus outside the Domain layer ), how then could the complexity of a mapping between DM and Data Model ( and thus the complexity of Data Mappers ) have any impact on the coupling between DM and DM’s implementation?

Thank you

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T18:28:04+00:00Added an answer on June 17, 2026 at 6:28 pm

    The quote is actually:

    but to do otherwise is to risk losing the tight coupling of model and implementation

    It is talking about the coupling of the conceptual model and its implementation (in code). This is not a discussion about data mappers and mapping data to the implemented model, but about how you can lose fidelity to the conceptual model when implementing it – in particular when you need to consider a database or other implementation details.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Quotes are from DDD: Tackling Complexity in the Heart of Software ( pg. 150
Note - all quotes are from DDD: Tackling Complexity in the Heart of Software
Basically, I want to extract the strings AAA, BBB, CCC, DDD from a text
How to get ddd from the path name where the test.java resides. File file
Continuing on from these debates: DDD - the rule that Entities can't access Repositories
aaa bbb ccc ddd When I using copy the above lines from a file
how made in PHP convert from Decimal (52.44554) to DDD MM.MMM? Standard step is
I am trying to make the jump from data-centric design and development into DDD
i've read a blog about DDD from Matt Petters and according and there it
I'm currently designing a web application using DDD methodology. While distinguishing the Entities from

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.