Tutorials

Writing ColdFusion Using CFScript (Page 2 of 2)

Now that we know the basics of writing CFScript, why would you want to use it instead of the normal tags? For one, CFScript is arguably faster than using tags. For instance, a simple variable assignment in <CFSET> is one thousand times slower than the same assignment in a <CFSCRIPT> block. CFScript is also much easier to read than regular CFML.

If you aren't already familiar with using CFScript I encourage you to take a further look at it and see how it might enhance your coding efficiency as well as enhance the performance of your ColdFusion applications.

PREVIOUS