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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T00:52:33+00:00 2026-05-11T00:52:33+00:00

How does one design loosely-coupled systems which may often require data from each-other but

  • 0

How does one design loosely-coupled systems which may often require data from each-other but don’t necessarily belong in the same category?

For instance, lets take the old Pet-shop example one-step further and create a pet-store franchise. Each pet-store has its own website listing their contact information, promotions, and current stock.

The franchise owners want to have a listing of all the franchised pet-stores along with contact information and possibly a few photos available on their corporate site. They want to be able to update this information, and have any updates pushed automatically both-ways. They also want to provide the promotions information to all stores’ sites in an automated way.

So, in this instance the stock lists are ‘owned’ by the stores, and the contact information is part-‘owned’ by both entities, and the promotion information is ‘owned’ by HQ. Due to arbitrary reasons all this data can’t be stored in the same place.

Are there some best-practices or common strategies for coping with a situation like this?

  • 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. 2026-05-11T00:52:34+00:00Added an answer on May 11, 2026 at 12:52 am

    I’ve been thinking about that problem, and I express it by saying that the relationships between classes are contextually determined. And any model that assumes global static associations (inherent coupling) between classes is problematic.

    Another example I like to use is Products.

    A Product can play a bunch of different roles. It’s associated with an OrderItem, which is associated with an Order, which is associated with a Customer.

    It’s provided by a Vendor.

    It’s in a Catalogue, maybe by Section and Page.

    It’s the responsibility of a Buyer, with availability from multiple Vendors.

    The ability to handle this complexity easily is the fundamental benefit of the Relational data model; and I’ve not seen it well dealt with in terms of OOP.

    Aside: There’s another ORM (Object Role Modeling, see VisioModeler, InfoModeler, etc.) that looks at the question from the Relational side, quite usefully (IMHO).

    When you isolate yourself from the relationality of the database (by using CRUD generators, ActiveRecords, etc.) you are hiding this important aspect. (I think LINQ has the same problem, as well as introducing fundamental coupling problems, but I haven’t worked it out very completely yet.)

    I think you can successfully work your way through it if you’re careful, but it becomes easy to embed coupling in the design, especially if you work from the database back to the rest of the application, rather than the other direction.

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

Sidebar

Ask A Question

Stats

  • Questions 152k
  • Answers 152k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer See this article in my blog for performance details: PostgreSQL:… May 12, 2026 at 10:05 am
  • Editorial Team
    Editorial Team added an answer The following applies to Kohana 2 instances... You can do… May 12, 2026 at 10:05 am
  • Editorial Team
    Editorial Team added an answer According to this page and this page, the VAX and… May 12, 2026 at 10:05 am

Related Questions

I have a piece of java code which reads strings from a file and
How does one choose if someone justify their design tradeoffs in terms of optimised
How does one performance tune a SQL Query? What tricks/tools/concepts can be used to
I'm working on kernel design, and I've got some questions concerning paging. The basic

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.