Skip to main content
Participant
January 17, 2020
Question

Tag or script components?

  • January 17, 2020
  • 1 reply
  • 351 views

When you create and work with components, you use script components or tag ones? What's the difference and what is recommended to use?

This topic has been closed for replies.

1 reply

BKBK
Community Expert
Community Expert
January 19, 2020

CFscript has the advantage that it is similar to other scripting languages. As such, it is more economical, more intuitive and more easily shared among developers. But, in ColdFusion, the tag and script formulations are basically equivalent. Use the one you're more at ease with.