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

What's Next

In this chapter, you developed skills that assist during the debugging process. You learned how to read ColdFusion error messages and how to correct the coding errors that caused them. You saw how to enable and customize debugging information through the ColdFusion Administrator and how this information can give you a glimpse into what's happening internally while the erroneous script is running. You learned how to use the <cfabort> and <cfdump> tags and the GetTickCount() function as programmatic aids to debugging. Finally, you read about ColdFusion Studio's debugging features and how they can provide further insight into the debugging process.

One common source of errors that was not addressed in this chapter is the end user. Very often you will build forms to collect data from users and, no matter how good your instructions are, users don't fill them out correctly and the data they submit causes some kind of error during processing. One way to prevent these problems is to rig your forms with JavaScript that enforces required fields and validates data that fits certain patterns (dates, ZIP Codes, telephone numbers, and so on). This is a very good idea, but what if you don't know how to write JavaScript code? In the ColdFusion environment, this doesn't matter because ColdFusion can write the JavaScript for you. The next chapter introduces you to the tags that enable ColdFusion to write this JavaScript code.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


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