Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 864

Developing applications
Hide thumbs Also See for 38043740 - ColdFusion Standard - Mac:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Requesting and Presenting Information
Data and development features
ColdFusion data and development features help you develop effective Ajax applications that use ColdFusion to
provide dynamic data. They include many features that you can use with other Ajax frameworks, including Spry.
• ColdFusion supports data binding in many tags. Binding allows an application that uses form and display tags, such
as
and
cfselect
cfwindow
you display form data directly in other form fields, but usually you pass form field data as parameters to CFC or
JavaScript functions or URLs and use the results to control the display. Data binding uses events to automatically
update the display, typically when the bound input data changes. You can also use the
ColdFusion.Ajax.submitForm JavaScript function to get the current value of any bindable element.
• The
tag creates a JavaScript proxy that represents a CFC on the server. It manages the
cfajaxproxy
communication between the client and server, and provides several functions to simplify and manage handling the
communication and its results. This tag provides access to all remote functions in a CFC. It also lets applications,
including applications that use Ajax frameworks or widget sets such as Dojo or Backbase, easily access data from
ColdFusion servers.
• The
tag lets you use bind expressions to dynamically create and update Adobe Spry data sets.
cfsprydataset
Applications that use Spry framework elements, such as dynamic regions, use this tag to populate the Spry elements
with information based on ColdFusion control input. This feature lets you easily intermix Spry and ColdFusion
controls.
• The
tag specifies the location of the JavaScript and CSS files that a ColdFusion page imports. You
cfajaximport
also use this tag to selectively import files required by specific Ajax-based tags and functions. The ability to change
the file location lets you support a wide range of configurations and use advanced techniques, such as application-
specific styles. Although ColdFusion automatically determines and imports the required files, sometimes you must
manually specify the information.
• ColdFusion provides several CFML functions that let you create and consume JSON format data on the server and
let you prepare data for use in HTML
• You display a floating logging window that shows client-side logging and debugging information. ColdFusion Ajax
features display information and error messages in this window, and several logging tags let you display additional
information, including the structure of complex JavaScript variables.
User interface features
• Ajax-based HTML controls including the following:
• Tree
• Grid
• Rich text editor
• Date field
• Autosuggest text input
• Pop-up menus and menu bars.
• Container tags that provide bordered, box, and tabbed layouts, pop-up windows, and pod regions.
• A
container tag that enables asynchronous form submission and binding in HTML
cfdiv
• Tool tips for specific controls and HTML regions.
For detailed information on using the user interface features, see
Features" on page 804.
, to dynamically display information based on form input. In the simplest application,
tags.
cfgrid
Last updated 1/20/2012
"Using Ajax User Interface Components and
859
and other regions.
div

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents