- Defining the Problem
- Passing the Data
- The User Interface
- Analysis
The User Interface
Now we must deal with our restricted user interface. The basic operation consists of the following features: the capability to retrieve a list of available games sorted by sport, the capability to subscribe to the desired games, the capability to modify an existing subscription list, and, most importantly, functionality to retrieve scores on a nearreal-time basis. Simulating real time will be a request at a user-defined interval.
To update the scores with minimal distraction to the employees, we will make the request behind the scenes in a hidden frame and then update the interface. Signals can be changed in the visible frame along with the scores.
Now we have created an end-to-end system of sports score reporting. Anyone who knows the location of the client HTML page can receive updates of their bets. Sounds good, right? Yes, but only if the number of sports that we want to track is low and the number of users using our system is limitedand if our data suppliers are content to be repaid in beer and hot dogs.