About Flex And Coldfusion - MACROMEDIA COLDFUSION MX 7.0.2-USING COLDFUSION MX WITH FLEX 2 Use Manual

Table of Contents

Advertisement

About Flex and ColdFusion

The Flex Data Service assembler lets ColdFusion developers use ColdFusion components
(CFCs) to provide the back-end data management for a Flex application that uses the Data
Management Service.
To use the Flex Data Service assembler, the Flex application must be running on Flex
Data Services 2.0.
How ColdFusion and Flex interact
The Flex Data Management Service feature lets you configure a Data Management Service
destination, which is the server-side code that you connect to. To use the ColdFusion Data
Service adapter, you specify it in the destination in the Flex Data Service configuration file.
The Flex Data Management Service recognizes the methods:
which you include in your ColdFusion CFCs.
The following image shows the process that Flex and ColdFusion use when a Flex application
calls a method in a ColdFusion component.
A Flash client requests data that is handled by the Flex Data Management Service.
1.
Flex calls a
,
2.
fill
The ColdFusion Data Service adapter sends the request to the Flex Data Service assembler
3.
by using Java Remote Method Invocation (Java RMI).
The Flex Data Service assembler and the ActionScript translator convert ActionScript 3.0
4.
data types to the appropriate ColdFusion values.
The ColdFusion server invokes the
5.
CFC, which invoke the appropriate methods in the DAO CFC.
The ColdFusion application creates an array of Value Objects or appropriate return value,
6.
which it sends to the ColdFusion server.
36
Using the Flex Data Service Assembler
,
, or
sync
get
count
fill
fill
method in the Data Service.
,
,
, or
sync
get
count
,
,
, and
get
sync
count
method of the assembler
,

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion mx

Table of Contents