372
Chapter 17: Developing Globalized Applications
Introduction to globalization
Globalization lets you create applications for all of your customers in all the languages that you
support. In some cases, globalization can let you accept data input using a different character set
than the one you used to implement your application. For example, you can create a website in
English that lets customers submit form data in Japanese. Or, you can allow a request URL to
contain parameter values entered in Korean.
Your application also can process data containing numeric values, dates, currencies, and times.
Each of these types of data can be formatted differently for different countries and regions.
You can also develop applications in languages other than English. For example, you can develop
your application in Japanese so that the default character encoding is Shift-JIS, your ColdFusion
pages contain Japanese characters, and your interface displays in Japanese.
Globalizing your application requires that you perform one or more of the following actions:
•
Accept input in more than one language.
•
Process dates, times, currencies, and numbers formatted for multiple locales.
•
Process data from a form, database, HTTP connection, e-mail message, or other input
formatted in multiple character sets.
•
Create ColdFusion pages containing text in languages other than English.
Defining globalization
You will probably find several different definitions for globalization. For this chapter,
globalization is defined as an architectural process where you put as much application
functionality as possible into a foundation that can be shared among multiple languages.
Globalization is composed of the following two parts:
•
Internationalization
Developing language-neutral application functionality that can
recognize, process, and respond to data regardless of its representation. That is, whatever the
application can do in one language, it can also do in another. For example, think of copying
and pasting text. A copy and paste operation should not be concerned with the language of the
text it operates on. For a ColdFusion application, you might have processing logic that
performs numeric calculations, queries a database, or performs other operations, independent
of language.
•
Localization
Taking shared, language-neutral functionality, and applying a locale-specific
interface to it. Sometimes this interface is referred to as a
skin
. For example, you can develop a
set of menus, buttons, and dialog boxes for a specific language, such as Japanese, that
represents the language-specific interface. You then combine this interface with the language-
neutral functionality of the underlying application. As part of localization, you create the
functionality to handle input from customers in a language-specific manner and respond with
appropriate responses for that language.
Summary of Contents for ColdFusion MX
Page 1: ...Developing ColdFusion MX Applications...
Page 22: ...22 Contents...
Page 38: ......
Page 52: ...52 Chapter 2 Elements of CFML...
Page 162: ......
Page 218: ...218 Chapter 10 Writing and Calling User Defined Functions...
Page 250: ...250 Chapter 11 Building and Using ColdFusion Components...
Page 264: ...264 Chapter 12 Building Custom CFXAPI Tags...
Page 266: ......
Page 314: ...314 Chapter 14 Handling Errors...
Page 344: ...344 Chapter 15 Using Persistent Data and Locking...
Page 349: ...About user security 349...
Page 357: ...Security scenarios 357...
Page 370: ...370 Chapter 16 Securing Applications...
Page 388: ...388 Chapter 17 Developing Globalized Applications...
Page 408: ...408 Chapter 18 Debugging and Troubleshooting Applications...
Page 410: ......
Page 426: ...426 Chapter 19 Introduction to Databases and SQL...
Page 476: ...476 Chapter 22 Using Query of Queries...
Page 534: ...534 Chapter 24 Building a Search Interface...
Page 556: ...556 Chapter 25 Using Verity Search Expressions...
Page 558: ......
Page 582: ...582 Chapter 26 Retrieving and Formatting Data...
Page 668: ......
Page 734: ...734 Chapter 32 Using Web Services...
Page 760: ...760 Chapter 33 Integrating J2EE and Java Elements in CFML Applications...
Page 786: ...786 Chapter 34 Integrating COM and CORBA Objects in CFML Applications...
Page 788: ......