Me again
I am working through an assignment for uni, and have come to a brick wall.
It is regarding a booking system for a fictional theme park. I am not asking for a complete solution to this, but just a programmers way of thinking about it, as im not as experienced as id like to be with php.
Here is the area of work i am stuck with:
The Excersise is to create a simple database for a theme park allowing rides to be booked using HTML forms for a single day. Confirmation of the booking should be provided in the form of a webpage showing the name of the individual making the booking and detailing the rides and seat numbers booked, The confirmation of the booking should include the cost of each ride and the total cost for booking including VAT at the standard rate.
your Database should hold sufficient spaces for all the seats on all the rides for at least 3 hours on a single day, this will enable you to show all the functionality.
Ride info...
Swinging Ship - 5 rows of 4 seats - 30 mins duration - £1
Roller Coaster - 4 rows of 4 seats - 20 mins duration - £3
Big Wheel - 8 cars of 4 seats - 30 mins duration - £1.50
Log Flume - 10 boats of 4 people - 20 min duration, but boats leave at 2 min intervals. £2
System must prevent double booking, and over booking of rides.
The booking algorithm and form must allow several seats to be booked for the same ride and there should be a checkbox on the booking form in which the customer can indicate whether or not all the seats must be adjacent( on the same row or in same car)
Be able to place a single booking through whuich multiple seats are booked either for the same ride or for different rides or even several seats booked for several rides.
Keep track of booking ID accross the pages.
Confirmation email sent out showing rides, time, seat numbers etc.
And the mental bit at the end:
Make it so there is an option to plan a days riding, so that the group or person can book so that they can go from one ride to another with not less than 10 mins between rides.
I have created various tables such as booking, customer, rollercoaster, bigwheel, swingingship, logflume, etc
I have created a format in the ride tables to represent the layout of the ride to make the booking easier(i hope).
Time Rownum seatA seatB seatC seatD
0900 1
0900 2
0900 3
0900 4
0930 1
0930 2
0930 3
0930 4
1000 1
etc etc etc.........
I would really appreciate any tips on how to start this booking bit. I am totally stumped and have been for a few days now.
Thanks a lot in advance
Elliott