Welcome to the Dictionary of Programming Languages, a compendium
of computer coding methods assembled to provide information and
aid your appreciation for computer science history.
Browse the dictionary by clicking on a section:
Get a full dump of the dictionary:
List of Names
- Language type:
Cold Fusion Markup Language is a web
scripting language designed to support
dynamic page creation and database access
in a web server environment. It is
part of the commercial product Cold Fusion
Web Application Server.
The syntax of CFML is exceptional among
executable scripting languages: it consists
mostly of HTML-style tags for all
statements and control structures.
CFML is a weakly-typed language that supports
only a few primitive types: integers,
real numbers, strings,
and dates. Several aggregate types are
supported: arrays, lists, and
associative arrays (also called structures).
Control structures supported in CFML
include conditionals, several kinds of
loops, and simple exception handling.
Like many scripting languages, CFML
supports dynamic interpretation of string
data as code.
CFML does not offer the ability to define
subroutines, but it does support defining
custom tags which can serve in a similar
Documentation about CFML is easy to obtain
on the WWW.
The only implementation of CFML is in
commercial products from Allaire.
- See Also:
In addition to execution state, the CFML
environment offers persistent state
through its 'application' abstraction.
The HTML-style tag syntax of CFML is
sometimes inconveniently verbose. To
alleviate this, the designers of CFML 4.0
added a mini-language named CFScript
that offers assignment, simple controls
structures, and CFML expression syntax
within a single enclosing pair of tags.
CFScript is roughly comparable to some
other server-side scripting languages like
The current version of CFML, as of the
late 1999, is 4.01. In addition to
the basic language, it comes with wide
support for database systems and SQL, common
application protocols, regular expressions,
and host system facilities.
- Sample code:
A simple example of defining the body of
a custom tag (from the CFML 4.0
<CFOUTPUT>Error. No employee data was passed.</CFOUTPUT>
<!--- Add the employee --->
<CFQUERY NAME="AddEmployee" DATASOURCE="cfsnippets">
INSERT INTO Employees
(FirstName, LastName, Email, Phone, Department)
‘#StructFind(attributes.EMPINFO, "firstname")#’ ,
‘#StructFind(attributes.EMPINFO, "lastname")#’ ,
‘#StructFind(attributes.EMPINFO, "email")#’ ,
‘#StructFind(attributes.EMPINFO, "phone")#’ ,
<CFOUTPUT><HR>Employee Add Complete</CFOUTPUT>
Descriptions in this dictionary are ©1997-99 Neal Ziring. Some
examples copyright of their respective authors. Some
technologies and languages are trademarked. Permission to
copy descriptions is granted as long as authorship credit is preserved.
Comments on this dictionary, corrections and suggestions, are all welcome.
Please use email, the address is email@example.com
[Ziring MicroWeb Home]
Dictionary and script maintained by Neal Ziring, last major modifications 3/18/98. Most recent
additions to dictionary and master list, 1/00.