Adobe COLDFUSION 9 Manual page 1315

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
The following image shows the interaction between Flash Media Server, the FMS event gateway, and the ColdFusion
application:
1.
Flash client
Flash Media Server
Sales Data So
Sales Data List
2.
Changed Sales Data
Modifying data in a ColdFusion application
The FMS event gateway lets ColdFusion applications modify Flash Media Server shared objects. The following steps
occur when data that affects a shared object is modified in a ColdFusion application:
The user submits a form that contains data to modify using a ColdFusion page.
1
2
The ColdFusion page calls the appropriate CFC, which contains a method to update the database.
The method in the CFC updates the database and calls a method in the FMS Gateway Helper.
3
The FMS Gateway Helper calls the FMS event gateway to update the appropriate shared object.
4
5
Flash Media Server updates the shared object.
Flash Media Server notifies the Flash client that a shared object has changed.
6
The Flash client makes the changes in its content as appropriate.
7
Application development and deployment process
The following is a typical process for developing and deploying an application that uses the FMS event gateway:
Design your application.
1
2
Configure an FMS event gateway instance to use the Flash Media Server.
Write your ColdFusion CFCs, CFM pages, and any other application elements.
3
Create or identify a Flash client that manipulates a Flash Media Server shared object to test your ColdFusion
4
application.
5
Test your application using Flash Media Server and the Flash client.
6
Make the application publicly available.
Flash client
10.
9.
3.
FMS event gateway
8.
FMS Gateway Helper
7.
Last updated 8/5/2010
ColdFusion Server
4.
FMS_gateway.cfc
5.
sales.cfc
1310
database
6.

Advertisement

Table of Contents
loading

Table of Contents