s****h 发帖数: 1329 | 1 consider desktop and laptop categories, using brand names for the
subcategories like HP, Compaq... then I'll have same subcategory names,
although under different categories.
I think all names should be different in a database, but on the website, it
looks better if we just use the brand names under each category, Like
Bestbuy, Circuitcity's websites. So does that mean they are using the brand
names as their subcategory names in the database as well?
I don't know anything about web developing,wo | a*******t 发帖数: 891 | 2 I don't think you are looking at this problem from the right angle
simply put, you should have a database with multiple tables, for example,
table_ComputerType
(computerType_ID, primary key
computerTypeName (desktop, laptop, tablet, handheld, etc))
table_Brand
(brand_ID, primary key
brandName (HP, Dell, etc))
table_Inventory
(inventory_ID, primary key
computerType_ID, forgien key
brand_ID, forgien key
Description ("due core 2 2.8GHz, 2GB ram, $1299!!!!!" etc))
if you really want a scable and mor
【在 s****h 的大作中提到】 : consider desktop and laptop categories, using brand names for the : subcategories like HP, Compaq... then I'll have same subcategory names, : although under different categories. : I think all names should be different in a database, but on the website, it : looks better if we just use the brand names under each category, Like : Bestbuy, Circuitcity's websites. So does that mean they are using the brand : names as their subcategory names in the database as well? : I don't know anything about web developing,wo
|
|