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.
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.