• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 28. ColdFusion Tips and Tricks > Use Application.cfm to Make Your Code ...

Use Application.cfm to Make Your Code Faster and More Portable

Submitted by Dave Hannum, hannum@ohio.edu

Using the Application.cfm file in your applications can make them extremely powerful and portable. Think of it as a configuration file. For example, it seems that every system administrator has his own “right” way of configuring and laying out the directory structures of the servers he administers. Utilizing your Application.cfm file, you can move from machine to machine relatively painlessly. In the Application.cfm script, set the DATASOURCE, URL, and PHYSICAL PATH in REQUEST scope variables.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint