SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2008
    Posts
    77
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    what are the best ways to design database for the given requirements?

    I am new to the database design, can you tell me what are the things I have to concentrate while designing the database for my following requirements.

    I have planned to implement the website database by Mysql.

    The database will be for slide-show images with the title & description
    Every slide-show will be containing 5 images and the dataset will be accessed via web
    I am going to implement with 3 database tables
    one for images & its details
    second one for user registration
    third one for storing the details of slideshow clicks & ratings

    In future, I have planned to add video section too
    The database will be huge in size because of storing more & more images

    I don't know how effective the database will be in future.
    I look forward to have a better idea to build my database more flexible

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,250
    Mentioned
    59 Post(s)
    Tagged
    3 Thread(s)
    you are on the right track
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"

  3. #3
    From space with love silver trophy
    SpacePhoenix's Avatar
    Join Date
    May 2007
    Location
    Poole, UK
    Posts
    5,014
    Mentioned
    103 Post(s)
    Tagged
    0 Thread(s)
    Don't store the actual images in the database, instead store the link to them.
    Community Team Advisor
    Forum Guidelines: Posting FAQ Signatures FAQ Self Promotion FAQ
    Help the Mods: What's Fluff? Report Fluff/Spam to a Moderator

  4. #4
    SitePoint Author silver trophybronze trophy
    wwb_99's Avatar
    Join Date
    May 2003
    Location
    Washington, DC
    Posts
    10,629
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)
    Protip: while they might say there are only 5 images per show, I would make that a normal related table not Image1 . . . Image5 fields. They will change their minds.


Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •