Sunday 27 April 2003 9:45:16 pm
Define "content classes" so we know what you're trying to define for your inventory. Is it like "Cups", with many products which are different types of cups? Or "Hello Kitty Cups" and a few variations of the same cup (colors)? Or "Dixie Chicks Cup", with a single style and one "object" for each single cup in inventory? Or "DVD" and "VHS" classes, with product "Star Wars" having different quantities in both classes? You'll have to clarify why "The choice seems to be either", and why your problem does not allow every Product to have a Quantity, and why you might have any products which are not in a single Product class. (That's odd -- the New Reply button emits an invalid URL) I see your replies -- a Pet Store could use either Cats/Siamese/Quantity (or Insects/Mealworms/Pounds) or Cats/Siamese/Number18. A supplier who merely has to send six cats of a type to a pet store could use just a Quantity. A pet store might get better results by showing information about each individual cat, such as pictures and descriptions. Whether to call a cat "Number18" or "Mittens" depends on the pet store's policies...and whether there is a registered pedigree with a name involved. (As for shipping: You shop based on your criteria, other people have other situations. Maybe the pet store doesn't ship but people can see what is available and come to the store to check the emotional appeal. The emotions which our mammalian brains share are an important part of the relationship with pet mammals. Or maybe a customer can't find a hairless Manx nearby and must get one from a distant source. Good thing somebody shipped horses, cows, and corn between continents sometime so they are available. Shall we discuss whether cows rule the world and have trained us well to take care of them and increase their numbers?)
|