mak_gillett Posted December 12, 2007 Share Posted December 12, 2007 I've been putting this off for a little while as I've been trying to wrap myself around how to setup the database to handle everything I want to do. Basically it is a league hosting application for sports games such as Madden, NCAA Football, and All Pro Football. While I am fairly new to coding in general if I can get the basic concept of the database figured out I think I may be able to build this application. Here is what I need the database to handle: Multiple Leagues Up to 32 users per league each controlling their own team. Team data will be preloaded into the database Up to 70 players per team which will be preloaded into the database, which will include player info like height, weight, and ratings Individual player and team stats League, Conference, and Division standings Playoffs and I need to tie it all in to my existing vbulletin user database Basically at this point I am trying to figure out the most efficient way to setup the database to handle not only creating a league but also adding and removing users from the league, controlling teams, stats, standings, and a playoff. If anyone could give me a direction or even a basic layout it would be greatly appreciated. Here is what I believe I need: League database that includes league id and user id for the league commissioner. Teams database that includes team id, user id for the team manager, and a reference to the league id. Player database that includes player id, and a reference to the team id. Player Stats database with a reference to the player id. Team Stats database with a reference to the team id. If this is wrong or if there is a better way to do this please let me know. Now my problem would be how to link up the preloaded data for the teams and players to work with each team and player id. I am probably in way over my head here but I would like to at least give this a try, I just need a push in the right direction. Again thanks for any help. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.