Programming instructions

52 Lesson 1 Preparing to Build the Sample Application
Determining the data requirements
Prior to creating the application pages to capture trip information, you must determine
what type of data is required about each trip. For the example, in this tutorial, the
Compass Travel Trip Coordinator must maintain the following information about each
trip:
Trip name
Type of event (surfing, mountain climbing, kayaking, etc.)
Trip description
Trip location
An indicator of whether a deposit is required
Departure date
Return date
Total number of people who can attend the trip
Price
Base cost
Assigned trip leader
Trip photograph
By collecting the preceding information about each trip, the Compass Travel website can
market its trips online to the general public. Customers booking a trip need to know the
trip name, when the trip begins and ends, the price, and a description. Additionally, the
trip coordinator must identify the file name for a photograph of each trip. The Compass
Travel website displays the photograph to further entice prospective customers into
booking the trip. Finally, Compass Travel considers it important to store the base cost for
each trip to help determine trip profitability. The cost must be captured, but it is for
Compass Travel internal use only. Cost is not shown on the public website.