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 8792343
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T22:57:58+00:00 2026-06-13T22:57:58+00:00

Is there a name or a particular rule for objects that contain objects that

  • 0

Is there a name or a particular rule for objects that contain objects that contain… and so on. I’m working with a complex system that often has objects running 5-10 layers deep. One reason I’m hearing for why this is done is to pass a lot of data from server to client all at once, is there a better way to do this?

Edit: It seems that it is a combination of a few anti patterns. The Domain model should be cleaned up, and the following antipatterns are the smells: Train Wreck Pattern, and Everything but the kitchen-sink map

  • 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-13T22:57:59+00:00Added an answer on June 13, 2026 at 10:57 pm

    This looks like a domain model gone sour (not an antipattern name, BTW 🙂 It stems from the illusion that there is such a thing as a well-defined domain model. In reality, there are some aspects of the problem domain that can be elegantly modelled, but at the finer level of detail there are exceptions upon exceptions and special cases upon special cases, each specific to a single service method, that destroy this elegance.

    The appearance of many nested objects is often the result of a continuous process of “grinding down” the domain model to ever finer granularities, in the hope that every instance variable may be reused in different contexts. There is a breaking point where the dogmatic imperative to reuse each and every domain attribute just stops making sense.

    My way out of this is to stop trying to create a one-size-fits-all domain model and use objects specifically designed for each service call. These objects may rely upon some of the well-defined domain objects, but add any specific information separately and in a way that doesn’t interfere with other service calls.

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

Sidebar

Related Questions

I'm looking for the name of a particular kind of set/map, for which there
I'm working on a project with a system that holds data and I'm thinking
Is there a way to accessing html elements under a particular class name in
Is there a particular name for <% and %> .
Is there a way in java script to get only a particular name instead
I have a core data model that has a one to many relationship, there
Suppose a particular command generates few files (I dont know the name of these
Is there a name for this? Here's an example of what I'm trying to
Is there any name for the following DB table design: Basically we have generic
I'm just curious, but is there a name for the process using print statements

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.