If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Picture Gallery

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-15-03, 11:18
RModica_1982 RModica_1982 is offline
Registered User
 
Join Date: Oct 2003
Posts: 3
Picture Gallery

Hi All,

I am designing a picture gallery back end, and i would like some opions/advice.

I started with three tables:

Users --> Users of the system
Albums --> Photo Albums Created By Users
Pictures --> Pictures By Users to be places in photo albums

so User (one to many) to Album and Album (one to many to picture)

A) User Can Create Many Albums
B) One Album Is Create By One User
C) One Album Can Contain Many Pictures
D) One Picture can belong to One Album

now in my eyes that works however i know in the real world users may want to add the same picture to many albums thus i dont have a true many to many but i do have duplication of pictures (Physical not logical) so i was thinking of adding another table inbetween album and picture to create pictureAlbum which would store all the pictures relating to albums and becuase this would allow for one picture to belong to many albums solve my problem, but for some reason it just doesnt feel 100% right!

Any Ideas people!?

Rob
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On