Adobe ColdFusion

From Wiki @ Karl Jones dot com
Jump to: navigation, search

ColdFusion is a commercial rapid web application development platform first released in 1995 by the Allaire Corporation.

Description

The programming language used with that platform is also commonly called ColdFusion, though is more accurately known as CFML.

ColdFusion was originally designed to make it easier to connect simple HTML pages to a database.

By Version 2 (1996), it had become a full platform that included an IDE in addition to a full scripting language.

In 2001 Allaire was acquired by Macromedia, which in turn was acquired by Adobe Systems in 2005.

Developer resources

Changing the web root directory

ColdFusion 2016:

File: cfusion\runtime\conf\server.xml

Excerpt:

  <!-- Uncomment the lines below to change the default web root or to add virtual directories.
            Make sure to replace <cf_home> with the absolute path to ColdFusion Home
            To add virtual directories, use Resources and PreResources tags inside Context tag. aliasPathN must include a leading '/' and docBaseN must be an absolute path to a directory. 
            If no virtual directories are needed, then complete Resources tag should be removed or commented. -->

        <!-- <Context path="" docBase="<cf_home>/wwwroot" WorkDir="<cf_home>/runtime/conf/Catalina/localhost/tmp" >
          <Resources>
            <PreResources base="docBase1" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/aliasPath1"/>
            <PreResources base="docBase2" className="org.apache.catalina.webresources.DirResourceSet" webAppMount="/aliasPath2"/>
          </Resources>
        </Context> -->

cfdump

<cfdump var="#VarName#">

Charts

<cfchart>
 <cfchartseries>
  <cfchartdata item="One" value="55001">
  <cfchartdata item="Two" value="17090">
  <cfchartdata item="Three" value="15000">
 </cfchartseries>
</cfchart>

See also

External links