Using The Data Management Event Gateway - Adobe 38043740 - ColdFusion Standard - Mac Development Manual

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
ColdFusion data type
String
Array
Struct
Query
CFC
CFC Date
CFC String
CFC Numeric
ColdFusion XML Object

Using the Data Management Event Gateway

Using the Data Management event gateway type provided with Adobe ColdFusion, you can have ColdFusion
applications notify Adobe Flex applications when data managed by a destination has changed. You configure the Data
Management event gateway and write an application that uses the event gateway.
Before using the Data Management event gateway, become familiar with ColdFusion event gateway principles and
programming techniques (see
About ColdFusion and Flex
ColdFusion includes the Data Management event gateway, which uses the ColdFusion Data Service Adapter to send
messages to LiveCycle Data Services ES. This means that ColdFusion applications can notify a Flex application about
changes in the data that the destination manages.
Note: To use the Data Management event gateway to send messages to a Flex application, the Flex application must be
running on LiveCycle Data Services ES.
How ColdFusion and Flex interact
You can send messages from a ColdFusion application to a Flex application through the Data Management event
gateway. This gateway type only lets you send messages from a ColdFusion application to a Flex application.
The following image shows the process in which a message is sent from the ColdFusion application to the Flex
application:
ColdFusion
ColdFusion
application
server
The ColdFusion application generates a message, which it sends to the ColdFusion server.
1
Flash data type
String
[] = Array
{} = untyped Object
ArrayCollection
Class = typed Object (if a matching ActionScript class exists, otherwise the CFC becomes a
generic untyped Object (map) in ActionScript)
ActionScript Date
ActionScript String
ActionScript Numeric
ActionScript XML Object
"Using Event
Gateways" on page 1254). Also, be familiar with LiveCycle Data Services ES.
LiveCycle
Data Services
event
gateway
ActionScript
translator
Last updated 1/20/2012
ColdFusion
Data
Message
Service
Service
Adapter
1316
Flex
application

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents