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

Chapter 49. Application Performance Tuni... > Employing Effective ColdFusion Codin...

Employing Effective ColdFusion Coding

There are many strategies that you can employ to improve the performance of Web applications. The first step is writing code that runs efficiently. Tuning the server and caching are also effective, but they are not cure-alls for poorly written code. This chapter describes techniques you can use to increase the performance of ColdFusion applications. Remember that ColdFusion is like any other language: You can write code that is efficient and performs well, or you can write sloppy code that performs poorly.

Avoiding Nesting <cfif>, <cfcase>, and <cfloop>

Although nesting is sometimes critical in implementing an algorithm, nested <cfif>, <cfcase>, and <cfloop> tags take a toll on processing. As a rule, do not nest deeper than a few levels.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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