CFScript: Difference between revisions

Content deleted Content added
Doggum (talk | contribs)
Doggum (talk | contribs)
No edit summary
Line 2:
{{refimprove|date =November 2006}}
 
'''CFScript''' is an extension of [[ColdFusion Markup Language|CFML]] on the ColdFusion platform. CFScript resembles [[JavaScript]]. Some ColdFusion developers prefer it since it has less visual and typographical overhead than ordinary CFML; It is considered best practice to write Coldfusion Components and all business logic in CFScript and to use CFML only in .cfm files amongst HTML.
 
==Usage==
It is considered best practice to write Coldfusion Components and all business logic in CFScript and to use CFML only in .cfm files amongst HTML.
 
All CFScript code must be contained within a CFScript tag pair, as follows:, unless it's within a pure script based Coldfusion Component.
<pre>
<cfscript>