 |
 |
 |
 |
 |
 |
|
Cold Fusion Markup Language (CFML) |
|
|
|
Cold Fusion Markup Language (CFML) is a tool that allows you to create web applications that are interactive and that interface with databases. The syntax of CFML is similar to
HTML which is what makes it relatively easy to code. CFML allows you to display output based on the results of a query to database and update databases based on user input. CFML requires that the Cold Fusion
Application Server be installed (CFAS). The CFAS works in conjunction with the web server. |
|
|
|
The CFAS is more than a tool to query/update databases. In fact, it is able to interface with almost any Internet service to obtain the data necessary for the
applications. This concept is displayed in the following figure: |
|
|
|
 |
|
|
The sequence of activities is as follows:
- A user submits a form via a browser. The form is designed to be processed by a file containing CFML code. This file has the .cfm extension.
- The web server recognizes the .cfm extension and hands the file to the CFAS for processing.
- The CFAS executes the instructions per the CFML code. This typically results in information from a database to be included in the web page. In addition, it may interact with other Internet services, such
as other web servers, e-mail, etc.
- The web page generated by the CFAS is then returned to the web server.
- The web server sends this page to the browser.
|
|
|
Although Cold Fusion is not a programming language per se, knowledge of funndamental programming concepts and SQL is essential for sophisticated applications.. The following
topics will get you started with using Cold Fusion to create simple interactive applications. Refer to the Cold Fusion documentation for more details.
|