Jump to content


Photo

need help with the design


  • Please log in to reply
1 reply to this topic

#1 jdubwelch

jdubwelch
  • Members
  • PipPipPip
  • Advanced Member
  • 85 posts

Posted 09 April 2006 - 06:33 AM

i need to take all the information from this form and put it into a database.
[a href=\"http://www.jwelchdesign.com/book.html\" target=\"_blank\"]http://www.jwelchdesign.com/book.html[/a]

As you will see there is a lot of information. I broke it down the best that i could but i'm not sure if it's the best most efficient. this is my first real try at designing a database so any hints/tips/ideas anything would help.

this is what i have for my database design so far:
[a href=\"http://www.jwelchdesign.com/db_design.html\" target=\"_blank\"]http://www.jwelchdesign.com/db_design.html[/a]

#2 fenway

fenway
  • Staff Alumni
  • MySQL Si-Fu / PHP Resident Alien
  • 16,199 posts
  • LocationToronto, ON

Posted 09 April 2006 - 06:52 PM

That's a good start... just a few suggestions:

1. no need to store time/day/month/year separately -- use a DATETIME field instead.
2. you may want to consider a locations table -- you already have event, reception, and rehersal info duplicated in multiple tables; it might as well have phone info too
3. this will clean up your couples table quite a bit as well

There are many other things that could be changed, it ultimately depends what you're going to be doing with this data (i.e. how you're going to query it).

Hope that helps.
Seriously... if people don't start reading this before posting, I'm going to consider not answering at all.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users