Adobe 38043740 - ColdFusion Standard - Mac Development Manual page 1314

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

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Using External Resources
About Flash Media Server
Flash Media Server 2 is the newest version of Flash Communication Server. Flash Media Server 2 offers traditional
streaming media capabilities and a flexible development environment for creating and delivering innovative,
interactive media applications. You can use Flash Media Server to create and deliver the following media experiences:
• Video on Demand
• Live web-event broadcasts
• Mp3 streaming
• Video blogging
• Video messaging
• Multimedia chat environments
To learn more about and to download the Flash Media Server, go to the Adobe website. at
www.adobe.com/go/learn_cfu_flashmediaserver_en.
How ColdFusion and Flash Media Server interact through the FMS gateway
The FMS event gateway lets you modify data through the ColdFusion application or the Flash client, and reflect the
change in the Flash Media Server shared object. The FMS event gateway listens to the shared object, and notifies
ColdFusion when other clients modify shared objects. The FMS event gateway also lets ColdFusion modify shared
objects.
ColdFusion provides the following tools for developing FMS applications:
The JAR file that implements the Java API to communicate with Flash Media Server.
FCSj.jar
The class for the FMS event gateway type. You implement your FMS application by creating a
FMSGateway
ColdFusion application that uses an instance of the FMSGateway class to communicate with one or more Flash Media
Server.
Modifying data in the Flash client
The FMS event gateway listens to Flash Media Server shared objects, and notifies ColdFusion when a Flash client
modifies a shared object. The following steps occur when a Flash client modifies a Flash Media Server shared object:
1
A user modifies data in the Flash client.
Flash Media Server updates the appropriate shared object.
2
Flash Media Server notifies the FMS event gateway.
3
4
The FMS event gateway calls the appropriate methods in CFCs in your ColdFusion application. These CFCs
perform all actions required, including notifying the FMS Gateway Helper to update the shared object.
The FMS Gateway Helper sends a message to the FMS event gateway to update the shared object.
5
The FMS event gateway updates the shared object.
6
7
Flash Media Server notifies all the Flash clients that it modified the shared object. As a result, the Flash clients reflect
the change.
Last updated 1/20/2012
1309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfusion 9

Table of Contents