About Applications; Elements Of A Coldfusion Application; The Application Framework - MACROMEDIA COLDFUSION MX 61-DEVELOPING COLDFUSION MX Develop Manual

Developing coldfusion mx applications
Table of Contents

Advertisement

About applications

The term application can mean many things. An application can be as simple as a guest book or as
sophisticated as a full Internet commerce system with catalog pages, shopping carts, and
reporting.
However, an application has a specific meaning in ColdFusion. A ColdFusion application consists
of one or more ColdFusion pages that work together and share a common set of resources. In
particular, the application shares an application name as specified in a
pages in the application share variables in the Application scope. What appears to a user to be a
single application, for example, a company's website, might consist of multiple ColdFusion
applications.
While there are no definite rules as to how you represent your web application as a ColdFusion
application or applications, the following guidelines are useful:
Application pages share a common general purpose. For example, a web storefront is typically a
single ColdFusion application.
Many, but not necessarily all, pages in a ColdFusion application share data or common code
elements, such as a single login mechanism.
Application pages share a common look and feel, often enforced by using common code
elements, such as the same header and footer pages, and a common error message template.
This chapter describes the tools that ColdFusion provides to create an application, and presents
information on how you can develop and optimize your application.

Elements of a ColdFusion application

Before you develop a ColdFusion application, you must determine how to structure the
application and how to handle application-wide needs and issues. In particular, you must consider
all of the following:
The overall application framework
Application-level settings and functions
Reusable application elements
Shared variables
Application security and user identification
The following sections introduce these application elements and provide references to more
detailed information.

The application framework

The application framework is the overall structure of the application and how your directory
structure and application pages reflect that structure. You can use a single application framework
to structure multiple ColdFusion applications into a single website or Internet application. You
can structure a ColdFusion application using many methodologies. For example, the FuseBox
application development methodology is one popular framework for developing ColdFusion web
applications. (For more information on FuseBox, see www.fusebox.org.)
268
Chapter 13: Designing and Optimizing a ColdFusion Application
tag, and all
cfapplication

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents