• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Data model suggestions...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Data model suggestions...


  • Subject: Re: Data model suggestions...
  • From: Flavio Donadio <email@hidden>
  • Date: Mon, 06 Oct 2014 17:57:09 -0300

On 06/10/2014, at 16:51, Chuck Hill <email@hidden> wrote:

> I think Flavio’s question was more of how to model this so that the configurations were not hard-coded in Java.  I don’t have an immediate answer, but it is an interesting modelling problem.
>
> Chuck

Chuck is right. I have something more into the lines:

Product <--->> ProductOption <<---> Option <--->> OptionValue

... where Option is something like "Display Type" and OptionValue is something like "Monochrome". And ProductOption is just a proxy table for the many-to-many relationship.

Maybe I should have two more relationships:

OptionValue <--->> OptionRequire
OptionValue <--->> OptionExclude

An AJAX interface would be preferable, so the user gets an error message when changing the selections, not when the application saves the context...


Cheers,
Flavio


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


  • Follow-Ups:
    • Re: Data model suggestions...
      • From: Chuck Hill <email@hidden>
References: 
 >Data model suggestions... (From: Flavio Donadio <email@hidden>)
 >Re: Data model suggestions... (From: Ramsey Gurley <email@hidden>)
 >Re: Data model suggestions... (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Data model suggestions...
  • Next by Date: Re: Data model suggestions...
  • Previous by thread: Re: Data model suggestions...
  • Next by thread: Re: Data model suggestions...
  • Index(es):
    • Date
    • Thread