• 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: [slightly OT] data modeling question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [slightly OT] data modeling question


  • Subject: Re: [slightly OT] data modeling question
  • From: James Cicenia <email@hidden>
  • Date: Wed, 7 May 2008 13:33:00 -0500

You could use a tagging system. Wirehose has such a thing and I think that Wonder does too.

You could then use the tags to even drill to a set of products.

The tags could have validation logic based upon the type of product.

Just some thoughts.

James Cicenia


On May 7, 2008, at 1:21 PM, Jaime Magiera wrote:

Heyya,

This is slightly off-topic, but I figure fellow WO developers might have input: I'm rewriting the store functionality of ThoughtConduit and need to decide on a more refined version of my EOModel. In particular, I want Products to be able to handle things such as size and color (for t-shirts for example). I'm trying to decide how to approach that. I could subclass Product for each size and color, but that seems wasteful since only some products are shirts. Other types of products may or may not have qualifiers such as size or color.... but they may need other types of qualifiers. Alternately, I could let each group (it's a multigroup system) enter in a list of subtypes and use relationships on ProductItems to denote whichever. sigh. It's one of those things where it's best to get the model right before proceeding. So, I'm racking my brain. Maybe it's time to take a data modeling class :)

any thoughts?

Jaime Magiera

Sensory Research
http://www.sensoryresearch.net

_______________________________________________
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

_______________________________________________ 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: [slightly OT] data modeling question
      • From: Hugi Þórðarson <email@hidden>
References: 
 >[slightly OT] data modeling question (From: Jaime Magiera <email@hidden>)

  • Prev by Date: [slightly OT] data modeling question
  • Next by Date: Re: [slightly OT] data modeling question
  • Previous by thread: [slightly OT] data modeling question
  • Next by thread: Re: [slightly OT] data modeling question
  • Index(es):
    • Date
    • Thread