
378
DEVELOPING
COLDFUSION 9 APPLICATIONS
Developing CFML Applications
Las
t
upda
te
d 8/5/2010
The
cfhttp
tag supports making HTTP requests. The
cfhttp
tag uses the Unicode UTF-8 encoding for passing data
by default, and you can use the
charset
attribute to specify the character encoding. You can also use the
cfhttpparam
tag
mimeType
attribute to specify the MIME type and character set of a file.
LDAP
ColdFusion supports LDAP (Lightweight Directory Access Protocol) through the cfldap tag. LDAP uses the UTF-8
encoding format, so you can mix all retrieved data with other data and safely manipulated it. No extra processing is
required to support LDAP.
WDDX
ColdFusion supports the cfwddx tag. ColdFusion stores WDDX (Web Distributed Data Exchange) data as UTF-8
encoding, so it automatically supports double-byte character encodings. You do not have to perform any special
processing to handle double-byte characters with WDDX.
COM
ColdFusion supports COM through the cfobject
type="com"
tag. All string data used in COM interfaces is constructed
using wide characters (wchars), which support double-byte characters. You do not have to perform any special
processing to interface with COM objects.
CORBA
ColdFusion supports CORBA through the cfobject
type="corba"
tag. The CORBA 2.0 interface definition language
(IDL) basic type “String” used the Latin-1 character encoding, which used the full 8-bits (256) to represent characters.
As long as you are using CORBA later than version 2.0, which includes support for the IDL types wchar and wstring,
which map to Java types char and string respectively, you do not have to do anything to support double-byte
characters.
However, if you are using a version of CORBA that does not support wchar and wstring, the server uses char and string
data types, which assume a single-byte representation of text.
Searching and indexing
ColdFusion supports Verity search through the cfindex, cfcollection, and cfsearch tags. To support multilingual
searching, the ColdFusion product CD-ROM includes the Verity language packs that you install to support different
languages.
Debugging and Troubleshooting Applications
Adobe ColdFusion provides detailed debugging information to help you resolve problems with your application. You
configure ColdFusion to provide debugging information, and use the
cftrace
and
cftimer
tags to provide detailed
information on code execution. You can also use tools for validating your code before you run it and troubleshoot
particular problems.
Note:
Adobe Dreamweaver provides integrated tools for displaying and using ColdFusion debugging output. For
information on using these tools, see the Dreamweaver online Help.