Chapter 44. ColdFusion Scripting
What Is <cfscript>
?
ColdFusion scripting allows you to write portions of your templates with script-based syntax, which is often more concise and straightforward than ColdFusion’s traditional tag-based syntax. While you can’t do everything with <cfscript>
that you currently do with tag-based syntax, as you will later see, you may find that writing substantial portions of your code using scripting syntax is more natural for you.
Scripting syntax is very similar to JavaScript syntax with a couple of exceptions ...
Get Adobe ColdFusion 8 Web Application Construction Kit, Volume 3: Advanced Application Development now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.