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

What's Next

In this chapter, you read about the features of the ColdFusion application framework and how you can use them to bring many individual scripts together to work as an application. You learned about the Application.cfm file and the critical role it plays in the application framework. You saw that you can set up application variables and enable session and client variables in the Application.cfm file. Because the code in an Application.cfm file is processed before any template located in the same folder, you saw that you could use Application.cfm to deploy a standard page header and any special processing that needs to happen for each page generated. Next, you learned about the <cferror> tag and how it can be used to detect errors and redirect the users to friendly pages that notify them of the error. Finally, you saw how the OnRequestEnd.cfm file can be used to implement page footers and other code that should be executed at the end of each request.

The ColdFusion application framework is a sometimes-overlooked feature that can significantly contribute to a high-end Web site or application. One other hidden gem that's available on your ColdFusion server is Verity—a search engine that you can use together with ColdFusion to make all content on your site searchable. You'll learn about Verity in the next chapter.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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