Euro Disney Case
By: Steve • Case Study • 6,354 Words • November 27, 2009 • 1,302 Views
Essay title: Euro Disney Case
Technical Documentation
Stats & Matchups
Contents
1. Document information 3
1.1 Version management 3
2. Introduction 4
3. Program architecture 5
3.1 Architecture 5
3.2 Class explanation 6
3.1 Function explanation 8
3.2 GetDB 11
3.2 GetMajorstats 20
3.3 GetStatic() 28
4. Implementation 29
4.1 Installation on server 29
4.2 Installation in project 29
5. Testing 30
1. Document information
1.1 Version management
Version Modification Author
01 Start Technical Documentation RS,HA
02 Finish Technical Documentation HA
2. Introduction
In this document we will describe how the Stats & Matchups programs are build and explain the classes and functions. At the end of the documentation is described how to setup the files, Also included are the test reports.
3. Program architecture
3.1 Architecture
In the Stats & Matchup part of the website Royal Sports there are 9 different sport leagues displayed. Including the following:
Basketball:
- NBA
- NCAA
- WNBA
Football:
- NFL
- NCAA
- ARENA
Baseball:
- MLB
Hockey:
- NHL
Other Sports:
- Nascar
Each subleague of every sport has their own program to generate the team pages in that specific league. We have chosen for separate programs because the information in the different leagues is not always the same.
The programs are built in the following architecture:
3.2 Class explanation
Form
If the program is finished the form displays if the teampage generating was completed successfully or the generating failed. If the program failed he returns an error and shows the error on the form. The form closes automatically.
Form codebehind
In this class the program makes a connection with the database Ў§DolphinesЎЁ. The first thing the program does is counting the amount of teams in the specific league and creates array that is big enough to contain all the team names. Then he fills the array with the names out of the database. In a FOR statement he calls the class GetDB.vb and the class GetMajorstats.vb with the team name as parameter, the FOR statement continues until the end of the array. All this happens in between try and catch to return to the form if the page generating was successfully or failed.
GetDB
In this class the Stats page is created, all the functions in this class are getting information of that specific team out of the database. Not all the functions are included in every league, the class contains the following functions:
- WriteHTML()
- GetDate()
- GetPath()
- GetTeamName()
- GetNextGame()