Академический Документы
Профессиональный Документы
Культура Документы
Components
In this section we are going to discuss some basic concepts concerning the
application and its main components: the web interface and the database.
Using the client side, the main steps that should be followed in order to book a
court are:
The customer is identified into the database in order to be allowed to book
a court (if the customer does not exist into the database, he will be added
by completing the necessary information);
The application checks into the database if the desired court is available at
the date and hour specified by the customer;
If the court is available and there is an unoccupied employee, the booking
is made by creating a new entry into a specific table;
If the court is not available or all the employees are busy, the customer is
asked to choose another day or another hour for the booking.
The administrative side of the web application offers some different choices: the
ability to assign new roles to the users, the ability to add or remove fields from the
rotation, and the ability to see an overview of the activity, analyzing the activity of
coaches and their booked hours. All of these functions are done through MySQL
views.
Keeping a list with all the courts that are managed by the company and
their specific features in order to help the customers to choose the most
appropriate one;
Providing the possibility to book a specific court after seeing what
bookings were made previously in order to check if the desired court is
available;
Providing the possibility to check each employees activity at a specific
moment of time;
Performing analyzes and statistics after some periods (e.g. a week, a
month, etc.);
Granting some special rights for specific users (e. g. companys
employees)
Considering the facts that were shown previously, there was made the following
databases relational model (Fig. 3).