ColdFusion Markup Language

ColdFusion Markup Language, more commonly known as CFML, is a scripting language for web development that runs on the Java virtual machine (JVM), the .NET framework, and Google App Engine.

Uses your system voice; voice and rate in settings.

Snapshot

≈ 3 min read

Names in other languages

No names in other languages are held for this entry yet.

Article bodies are English and are not machine-translated. A name in another language is not a translation of the article.

ColdFusion Markup Language, more commonly known as CFML, is a scripting language for web development that runs on the Java virtual machine (JVM), the .NET framework, and Google App Engine. Several commercial and free and open-source software implementations of CFML engines are available, including Adobe ColdFusion, Lucee, New Atlanta BlueDragon (Java and .NET versions), Railo, Open BlueDragon, and other CFML server engines. #value# Bob!

Other tags, such as cfset and cfftp, never have bodies; all the required information goes between the beginning ( ) character in the form of tag attributes (name/value pairs), as in the example below. If it is legal for tags not to have a body, it is syntactically acceptable to leave them unclosed as in the first example, though many CFML developers choose to self-close tags as in the second example to (arguably) make the code more legible.

Even if the tag can have a body, including a body may not be necessary in some instances because the attributes specify all the required information. In these cases, as with the second example above, the end tag (and hence, the tag body) may be omitted and the tag may be self-closing as in the following example: Various tags offer the ability to type-check input parameters (e.g. cffunction, cfparam, cfqueryparam) if the programmer declares their type specifically.

This functionality is used with cfqueryparam to secure web applications and databases from hackers and malicious web requests such as SQL injection. Assuming the tag is in the same directory as the file (or in a pre-defined customtags directory), it can be invoked thus: CFX tags are custom tags which are developed using Java or C++, and are prefixed with cfx_ just like cf_.

Java and C++ tags are added to the CFML runtime environment using the CFML engine's administrator or by editing configuration files. On some CFML engines JSP tags can also be included in CFML pages using the tag. #fDegrees#°F = #result#°C CFCs may also be instantiated as objects.

Assuming a CFC file called Person.cfc, an instance of this CFC would be instantiated as follows: CFCs also form the basis of the ability to create web services in CFML. A CFC is created in the usual way, and the attribute access="remote" added to any function within the CFC will make that function available to be called as a SOAP-based web service.

The CFML engine auto-generates a WSDL and creates all the necessary stubs for the web service to function.

CFML documentation maintained by the community CFML in 100 minutes — introduction to the basics of the CFML language. A community driven training program that teaches the basics of CFML. CFML Slack team CFQuickDocs — ColdFusion tags and functions reference. Lucee Open BlueDragon BlueDragon Railo CFML Conventional Wisdom Google Group CFML Advisory Committee (this committee is now defunct)

Text derived from https://en.wikipedia.org/w/index.php?oldid=1374037879 under CC BY-SA 4.0; modifications have been made.

Sources cited in this revision

23 named source(s) extracted from the cited revision. A source with no author is shown by its publication; nothing is invented.