September 2007
Intermediate to advanced
600 pages
20h 21m
English
As you will learn in Chapter 26, “Building Reusable Components,” a ColdFusion Component is a collection of methods and data. You can think of it as a package of information (the data) and things you can do with the information (the methods). The Application.cfc file lets you do just that—create both data and methods. However, some methods are special. For example, if you create a method called onRequestStart, the method will execute before each and every page request. Table 19.1 lists these methods and how they work. Later in the chapter we will demonstrate how these work.
| Method | Purpose |
|---|---|
| onApplicationStart | Run when the application begins. This will run the first time a user executes a ... |
Read now
Unlock full access