Using Application.cfc
To get started with the Web application framework, you first must create a special file called Application.cfc. In most respects, this file is just an ordinary ColdFusion component. (Components are discussed in depth in Chapter 26, “Building Reusable Components,” in ColdFusion 8 Web Application Construction Kit, Volume 2: Application Development.) Only two things make Application.cfc special:
The code in your Application.cfc file will be automatically executed just before any of your application pages.
You can’t visit an Application.cfc page directly. If you attempt to visit an Application.cfc page with a browser, you will receive an error message from ColdFusion.
The Application.cfc file is sometimes referred to as the application ...
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.