Static Web Pages

Before you create your first data-driven ColdFusion template, let’s look at how not to create this page.

Listing 10.1 contains the HTML code for the movie list Web page. The HTML code is relatively simple; it contains header information and then a list of movies, one per line, separated by line breaks (the HTML <br> tag).

Listing 10.1. movies.htm—HTML Code for Movie List
<html> <head> <title>Orange Whip Studios - Movie List</title> </head> <body> <h1>Movie List</h1> Being Unbearably Light<br> Charlie's Devils<br> Closet Encounters of the Odd Kind<br> Folded Laundry, Concealed Ticket<br> Forrest Trump<br> Four Bar-Mitzvahs and a Circumcision<br> Geriatric Park<br> Gladly Ate Her<br> Ground Hog Day<br> Hannah and Her Blisters<br> ...

Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.