Day 2. Anatomy of a ColdFusion Application

Day 1, "Introducing ColdFusion," provided your first look at a ColdFusion application. You might recall that a database archiving Liz Taylor's various marriages was created, and then a ColdFusion template file was designed to display that data on the Web. This type of application uses one of the most popular ColdFusion functions—searching a database for information and presenting it in a Web page. In Day 2, you'll look at the three main components of this type of ColdFusion application and learn about the function of each. This day covers

  • The database file

  • The ColdFusion datasource

  • The template

  • Query and output elements

  • The relationship between queries and output

Get Sams Teach Yourself ColdFusion® in 21 Days 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.