Migrating ColdFusion 5 Applications
2 Migrating ColdFusion 5 ApplicationsMigrating to ColdFusion MXWhen you migrate your existing ColdFusion Server 5 applications to ColdFusion MX, y
Planning your migration 3Planning your migrationTo facilitate the migration process, Macromedia recommends that you develop a structured migration str
4 Migrating ColdFusion 5 ApplicationsUsing the ColdFusion Code Compatibility AnalyzerTo isolate compatibility issues between ColdFusion MX and Col
Using the settings migration wizard 5Using the settings migration wizardIf you have ColdFusion 5 installed on the same computer as ColdFusion MX, you
6 Migrating ColdFusion 5 ApplicationsMigrating settings later in WindowsTo run the settings migration wizard later, you must configure the softwar
CFML tags and attributes 7CFML tags and attributesThe following table describes the tags and attributes in ColdFusion MX that differ from ColdFusion S
8 Migrating ColdFusion 5 ApplicationscfcatchChanged cfcatch.Message gets the current values every time an exception is thrown, and ColdFusion MX i
CFML tags and attributes 9cfformChanged ColdFusion MX only uses the cfinput tag’s checked attribute if the corresponding form field value is undefined
10 Migrating ColdFusion 5 ApplicationscfldapChanged You can no longer sort cfldap query results on the client side using the sort attribute. The s
CFML tags and attributes 11cfprocparamChanged The maxrows attribute is obsolete in ColdFusion MX. If you have ref cursors in packages or stored proced
TrademarksAfterburner, AppletAce, Attain, Attain Enterprise Learning System, Attain Essentials, Attain Objects for Dreamweaver, Authorware, Authorware
12 Migrating ColdFusion 5 ApplicationsThe ColdFusion section of the Macromedia website contains the most current compatibility information. For mo
CFML functions and variables 13CFML functions and variablesThe following table describes other CFML functions and variables in ColdFusion MX that diff
14 Migrating ColdFusion 5 ApplicationsIsWDDX()Changed Returns No for arrays and other complex values. ColdFusion 5 returns an error. (Both version
CFML functions and variables 15Note: The date pivot point for calculating the century in a two-digit year has changed from ColdFusion 5, affecting the
16 Migrating ColdFusion 5 ApplicationsDatabase operationsColdFusion MX uses JDBC drivers to interact with databases; for example, to query, write,
Database operations 17QueryColumn objectThe QueryColumn object is even more like an array than in ColdFusion 5, as shown by the following examples: •
18 Migrating ColdFusion 5 ApplicationsLocalizationThis section describes the changes between ColdFusion 5 and ColdFusion MX that affect locale fun
Localization 19* In ColdFusion MX for Portuguese (Brazilian), the Java medium time format (for example, 06:55:27) does not work. However, the short, l
20 Migrating ColdFusion 5 ApplicationsChanges to formatting functions for different localesThe following table shows the locales in which one or m
Localization 21* The medium date format for English(US) has changed to the Java standard; for example, “Sept 4, 1998 11:15:16 PM" and "11:15
iiiCONTENTSABOUT THIS BOOK . . . . . . . . . . . . . . . . . . . . . . . . . . . . VDeveloper resources . . . . . . . . . . . . . . . . . . . . . . .
22 Migrating ColdFusion 5 ApplicationsChanges to formatting functions for every localeThe following table outlines changes to formatting functions
Localization 23Note: The date pivot point for calculating the century in a two-digit year has changed from ColdFusion 5, affecting the results from da
24 Migrating ColdFusion 5 ApplicationsOther changesThis section describes other changes between ColdFusion 5 and ColdFusion MX.Character encodingC
Other changes 25OperatorsFollowing are changes in operands between ColdFusion 5 and ColdFusion MX:• Exponent results differ; for example, ColdFusion 5
26 Migrating ColdFusion 5 ApplicationsObjects for date/timeColdFusion MX no longer strips milliseconds off of date/time objects; to do this, use t
Other changes 27thisTag scopeIn ColdFusion 5, you can change system values in the thisTag scope that persist throughout the execution of the tag. This
28 Migrating ColdFusion 5 ApplicationsTag and function examplesThis section provides remedies for some of the compatibility issues listed in “CFML
Tag and function examples 29Branch = "HKEY_LOCAL_MACHINE\SOFTWARE\Allaire\ColdFusion\CurrentVersion\Collections"Entry = "RootDirectory&
30 Migrating ColdFusion 5 ApplicationsIncompatible exampleThe following example to retrieve ColdFusion mappings throws an error because ColdFusion
Tag and function examples 31Using the cfindex tag in ColdFusion MXTo populate a collection with the contents of the query results, you can now use the
iv Contents Case in forms . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .25Obje
32 Migrating ColdFusion 5 Applications
33INDEXAadvanced security feature 24array functions 13ASCII 0 (NUL) 14attributes 7AuthenticatedContext 13AuthenticatedUser 13Ccaching 7cfapplet 7cfapp
34 IndexLLDAP directory servers, accessing 10Len 14ListSetAt 14ListSort 14ListSort() 30localesdetermining 23formatting functions 19overview 18logging
vABOUT THIS BOOKMigrating ColdFusion 5 Applications provides migration and incompatibility information for anyone who is migrating applications from C
vi About This BookDeveloper resourcesMacromedia, Inc. is committed to setting the standard for customer support in developer education, documentat
About Macromedia ColdFusion MX documentation viiAbout Macromedia ColdFusion MX documentationThe ColdFusion documentation is designed to provide suppor
viii About This BookViewing online documentationAll ColdFusion documentation is available online in HTML and Adobe Acrobat Portable Document Forma
1MIGRATING COLDFUSION 5APPLICATIONSThis chapter describes the known compatibility issues between ColdFusion Server 5 and ColdFusion MX. For late-break
Kommentare zu diesen Handbüchern