User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Database Design section within the Web Development category of DaniWeb, a massive community of 375,248 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,134 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Database Design advertiser:
Views: 4439 | Replies: 5
Reply
Join Date: Feb 2002
Posts: 175
Reputation: AlPhA is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 1
AlPhA AlPhA is offline Offline
Junior Poster

dell.com shopping cart save feature

  #1  
Feb 16th, 2002
Hmm... i've been looking for monitors at www.dell.com (the accessories section) and i noticed in the shopping cart area, they have a feature called save. What i think this does is that it adds something to their database (probably MS SQL Server). My question is, would each new account need a table for itself?

I was thinking of how they did this save feature (adds info to database), and am curious as to what method they did this. Do you think they have a different table for each account? Or 1 big table for multiple accounts or what? What would be the best way to accomplish their save feature?
One day, we will die, when it comes...... i dunno, i'm not psychic!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Rep Power: 12
Solved Threads: 1
Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: dell.com shopping cart save feature

  #2  
Feb 17th, 2002
No no no! =) Having a table for each account would be like having a hard drive for each file on your computer. Very inefficient. Accounts, or information that's similar like it is stored in records - which is pretty much like a row in a table. So you can have a table called Customers, and in that table, you have a record for each customer.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
Reply With Quote  
Join Date: Feb 2002
Posts: 175
Reputation: AlPhA is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 1
AlPhA AlPhA is offline Offline
Junior Poster

Re: dell.com shopping cart save feature

  #3  
Feb 17th, 2002
Would that table have all the ordering history of the customer and their saved stuff? Or would one table be for the ordering history and another for their saved?
One day, we will die, when it comes...... i dunno, i'm not psychic!
Reply With Quote  
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Rep Power: 12
Solved Threads: 1
Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: dell.com shopping cart save feature

  #4  
Feb 17th, 2002
It all depends on the complexity of the application, and who organized it. The designer of the database can include all the information about the customer in one record if he/she wants. Whatever the situation may be, he has to worry about normalization (avoiding duplicate fields; making the database design efficient), etc. Thats why tables can relate, and it's why we have relational databases.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
Reply With Quote  
Join Date: Feb 2002
Posts: 175
Reputation: AlPhA is an unknown quantity at this point 
Rep Power: 7
Solved Threads: 1
AlPhA AlPhA is offline Offline
Junior Poster

Re: dell.com shopping cart save feature

  #5  
Feb 19th, 2002
What would you do?
One day, we will die, when it comes...... i dunno, i'm not psychic!
Reply With Quote  
Join Date: Feb 2002
Location: Long Island, NY
Posts: 1,134
Reputation: samaru is just really nice samaru is just really nice samaru is just really nice samaru is just really nice 
Rep Power: 12
Solved Threads: 1
Colleague
samaru's Avatar
samaru samaru is offline Offline
a.k.a inscissor

Re: dell.com shopping cart save feature

  #6  
Feb 21st, 2002
It would depend what data I had to store. In the applications that I've written myself, I've never used more than 8 tables. On forums, I usually use just 3 tables.
_.:: my websites ::._
blog @ www.samaru.net * engi No Jutsu @ www.narutorp.net * portfolio @ shinylight.com
deviantART: inscissor
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Database Design Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Database Design Forum

All times are GMT -4. The time now is 4:49 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC