Exercise 1: About The Trip List - MACROMEDIA COLFUSION MX 7-GETTING STARTED BUILDING COLDFUSION MX Getting Started

Building coldfusion mx applications
Table of Contents

Advertisement

Exercise 1: About the trip list

As you recall from
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:
Retrieve the data that you want to display.
1.
Display the data on the page.
2.
60
Chapter 6: Lesson 3: Retrieving Data
"Lesson 1: Preparing to Build the Sample Application" on page
41, one of the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Colfusion mx 7 - installing and using coldfusion mx

Table of Contents