Adobe ColdFusion 8 Web Application Construction Kit, Volume 1: Getting Started
by Ben Forta, Raymond Camden, Charlie Arehart
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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access