O'Reilly logo

Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started by Charlie Arehart, Raymond Camden, Ben Forta

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating Your First CFC

To create ColdFusion Components, you need to learn some important new CFML tags. We’ll start by creating a CFC manually. Later in the chapter you will get to use Dreamweaver’s CFC wizard.

Note

As before, examples in this chapter use the data in the ows data sources and database. These must be present before continuing.

All the files created in this chapter need to go in a directory named 11 under the application root (the ows directory under the Web root).

The first thing you need to create a ColdFusion Component is a new file, so create a file named intro.cfc in the 11 folder. Delete any automatically generated content, and make sure that the file is empty.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required