Chapter 13. CFScript
Because ColdFusion is a tag-based markup language, most web developers should find it relatively easy to pick up. However, developers accustomed to procedural and scripting languages often find ColdFusion’s syntax ambiguous, overly simplified, or insufficient when it comes to complex or lengthy logical statements. The creators of ColdFusion realized this and tried to surmount it with the introduction of CFScript in ColdFusion 4.1. CFScript provides a method for developers who are more comfortable using scripting-based languages, such as JavaScript, to exploit their knowledge and skill. CFScript, until recently, was also the only way to create user-defined functions (UDFs). In fact, many of the examples in this chapter will ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access