How do you do X in CFScript?

This post is more than 2 years old.

With ColdFusion 9 allowing for script-based CFCs, a lot more people (I assume!) are making use of CFScript. Adobe expanded support for many (but not yet all) of ColdFusion tags into script. You may, however, forget exactly how things are implemented. For example, the cfdump tag is writeDump in CFScript. If you want a handy reference to this, you need to use the ColdFusion Developer's Guide, not the CFML Reference. In the chapter/section, "The CFML Programming Language / Extending ColdFusion Pages with CFML Scripting" you will find the following table:

What is supported in CFScript

It gives you a nice tag to script comparison to help you remember how things are implemented.

For the items implemented as CFCs, you can then look at Script Functions Implemented as CFCs, which oddly goes back to the CFML Reference.

Raymond Camden's Picture

About Raymond Camden

Raymond is a developer advocate for HERE Technologies. He focuses on JavaScript, serverless and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA