ColdFusion Example (MCS-270, Spring 2003)

Another way to construct a web-based application is using ColdFusion. This tends to be physically three-tier (with the presentation layer, application layer, and database layer running on three different computers), but the HTML code for the presentation layer tends to be mixed together in the same files with the ColdFusion code for the application layer. None the less, it can be a very quick way to get a simple web-based, database-backed application up and running.

I'll be writing some ColdFusion examples, reworking some examples that Max did about movies. Expect this collection to grow somewhat over the next couple of days.

  1. A version which lists the titles of all the movies in the database.
    1. The application
    2. The ColdFusion code

  2. A version where you uses two forms to list all movies in a given range.
    1. The application
    2. The HTML code
    3. The ColdFusion code

  3. A version where you type the actor's name in.
    1. The application
    2. The HTML code
    3. The movies-by-actor ColdFusion code
    4. The movie-details ColdFusion code