Creating The Application.cfm Page - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

You can divide your logical web application into multiple ColdFusion applications by using
multiple Application.cfm pages with different application names. Alternatively, you can use
multiple Application.cfm pages that specify the same application name, but have different
common code, for different subsections of your application.
The directory trees in the following figure show two approaches to implementing an application
framework:
In the example on the left, a company named Web Wonders, Inc. uses a single Application.cfm
file installed in the application root directory to process all application page requests.
In the example on the right, Bandwidth Associates uses the settings in individual
Application.cfm files to create individual ColdFusion applications at the departmental level.
Only the Products application pages are processed using the settings in the root
Application.cfm file. The Consulting, Marketing, and Sales directories each have their own
Application.cfm file.

Creating the Application.cfm page

The Application.cfm page defines application-level settings and functions such as the following:
Application name
Client-, application-, and session-variable variable management options
Page processing settings
Default variables, data sources, style settings, and other application-level constants
272
Chapter 13: Designing and Optimizing a ColdFusion Application

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the COLDFUSION MX 61-DEVELOPING COLDFUSION MX and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

This manual is also suitable for:

Coldfusion mx

Table of Contents