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

7. Maintaining State > 7.1. Setting Up the Web Application Framework

Setting Up the Web Application Framework

The first question you might be asking is, “Why do I need an application framework in the first place?” The answer is simple: the Web Application Framework allows you to group your CFML templates logically into a cohesive application or group of applications capable of maintaining state, utilizing constants, handling errors and exceptions, and enforcing security. Sound complicated? It really isn’t. As usual, ColdFusion abstracts the low-level programming that would normally be required to accomplish all of the tasks I just mentioned by providing two templates that serve as the foundation for the Web Application Framework. These templates, named Application.cfm and OnRequestEnd.cfm, are responsible for setting up and controlling every aspect of the Web Application Framework.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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