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

  • SEARCH
  • Home
  • 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 7897205
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T08:06:14+00:00 2026-06-03T08:06:14+00:00

I am trying to model a subscription based service provider and running into a

  • 0

I am trying to model a subscription based service provider and running into a case of “vapor lock”, if you will. I have defined the following model, where the user subscribes to a Package of various services – each Package level contains one or more services:

+---------------+     +-----------------+      +----------+
| Packages      |<--- | PackageServices | ---> | Services |
+---------------+     +-----------------+      +----------+
       ^
       |
+---------------+     +----------+
| Subscriptions |---> | Users    |
+---------------+     +----------+

However, each service then has their own user defined settings – and each service may have an associated array of other entities to store the service data. I can handle each Service’s data entities for the particular user, but I’m stumped on the settings table. I’ve thought of creating a “ServiceSettings” tabled keyed to Users and Services, but that seems a little weird. That approach leaves me with the following questions:

  1. What if they upgrade their Package and get new services?
  2. How would new ServiceSettings be set or constrained to only the Services the user has susbcribed to?
  3. What if I add a new Service?

Am I on the right track, or is there another alternative that I appear to be missing?

Thanks in advance!

  • 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-03T08:06:16+00:00Added an answer on June 3, 2026 at 8:06 am

    I like your ServiceSettings; but only to define the list of settings for each service. The values of those service Settings must exist in either a SubscriptionServiceSettings or a UserServiceSettings depending on if multiple users can share a subscription but have different service settings or not. As you add a new service, you must provide default values so that when they are added; the user gets those defaults at first; but can change them to fit their needs. And/Or users need some sort of notification regarding new service settings.

    So to directly address the questions:

    What if they upgrade their Package and get new services?
    Use a userServicesSettings to retain package settings and as they subscribe to a package that has those settings, use them, otherwise ignore them; but retain them for altered services in the future (again a business question)

    How would new ServiceSettings be set or constrained to only the Services the user has susbcribed to?
    That’s just a join between the subscription, pacakage, packageservices, and ServiceSettings. (Unless you want to maintain package versions; but that’s a whole different line of thought)

    What if I add a new Service? So you add new serviceSettings, UserServiceSettings are defaulted (or notification to user is provided so they can fill in what they want, or both) and now you have the needed details. Defaults are useful in dynamic environments incase people don’t make decisions you NEED them to make. Default values say, you’ll get this unless you change it; causing people to accept default or take action.

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

Sidebar

Related Questions

I have the following model. Subscription Packages PackageWidgets Widgets ------------ -------- -------------- ------- ID
basically I am trying to model some map brushes that have the following format:
I am trying to model a network using C++. I have a struct called
I am trying to model this relationship following this link http://www.javaworld.com/javaworld/jw-01-2008/images/datamodel.gif Its the usual
I was trying to model my project based on this project at Github. public
I am trying to model a publications. A publication can have multiple authors and
I'm trying to model which countries border each other in MySQL. I have three
I'm trying to model artists and songs and I have a problem where I
I'm trying to model a network of Person s. A Person can have many
I am developing an application using Hibernate and am trying to model the following

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.