![]() ![]() ![]() |
||
|
As you recall from Lesson 1: Preparing to Build the Sample Application, one of the requirements for the Trip Maintenance application is the ability to generate trip listings. To help Compass Travel agents take trip reservations by telephone and in person, the trip coordinator maintains a list of current trip offerings. Years ago, the coordinator would type the list and fax it to the various Compass Travel offices in an effort to keep everyone informed. When Compass Travel built an intranet that was accessible by all offices, the trip coordinator added the following HTML web page to the site:
Each time the Trip List HTML page is rendered in a browser, it displays the same web page. Since the page always shows an identical trip list, it is considered a static web page. You should only use static web pages when you are creating a page that is not likely to change often.
Using the static web page approach, the Trip Coordinator needs to modify all the web pages that reference trip lists when trips are added, deleted, or trip names are changed. This manual process of updating each web page can lead to inaccurate or untimely information. Luckily, Compass Travel has built a database that contains a list of trips, so you can build a more accurate and timely solution for the trip coordinator.
In this lesson, you will create a dynamic Trip List page to present an up-to-date list of trips on the Compass Travel website. The primary users of this component are the Compass Travel coordinators and agents, not the general public.
To display the information on the page, you do the following:
|
||
![]() ![]() ![]() |