MACROMEDIA FLASH REMOTING MX-USING FLASH REMOTING FOR FLASH MX 2004 ACTIONSCRIPT 2.0 Spezifikationen Seite 6

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 40
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 5
This is the Title of the Book, eMatter Edition
Copyright © 2003 O’Reilly & Associates, Inc. All rights reserved.
4
|
Chapter 1: Introduction to Flash Remoting
Flash Remoting technology is at the center of Macromedia’s Studio MX product
suite, linking the server platforms with the client-side tools. Flash Remoting is built
into Macromedia’s two application servers—ColdFusion MX and JRun 4. In addi-
tion, programmers using other technologies, such as ASP.NET or J2EE application
servers, can purchase the Flash Remoting MX package so that Flash Remoting can be
utilized on those servers. Although Macromedia doesn’t officially support other lan-
guages, open source implementations are available for PHP (the AMFPHP project at
http://www.amfphp.org) and Perl (the FLAP project at http://www.simonf.com/flap).
There is also an open source Flash Remoting for Java implementation (OpenAMF at
http://www.openamf.org).
The Flash authoring environment includes UI components, which form the basis of
Macromedia’s strategy of using a Flash movie as the client in a client/server atmo-
sphere. This approach allows the application server to provide the programming
power for the application. Using Flash Remoting, a Flash movie can act as the inter-
face for diverse applications, including connections to databases, SMTP mailers,
server components, web services, and much more. Flash Remoting ties together the
Macromedia authoring tools and application server technologies to form a new
approach to web application development and deployment.
Flash Remoting is a server-side technology that integrates with existing application
servers to provide a gateway between the Flash Player and remote services deployed
on the server. A service can be a simple ColdFusion page or ColdFusion Component
(CFC), a PHP or Perl script, a Java class, or an ASP.NET page or DLL. Flash Remot-
ing allows developers to access remote services and web services from within Flash
through a simple ActionScript API that is similar to JavaScript. Flash Remoting also
allows developers to integrate Flash with existing client/server applications with lit-
tle modification, to provide a rich, robust user interface that can be deployed across
browsers, platforms, and devices.
The Flash Remoting gateway on the server sits between the Flash Player on the cli-
ent and the server-side tier of an application. It handles data serialization and proce-
dure calls between the Flash Player and the server. Serialization is the translation of
data to a format that can be easily transmitted over the Web. This translation is
transparent to both client-side Flash developers and server-side developers. We’ll
discuss a client/server architecture using the Flash Player and the Flash Remoting
gateway later in this chapter.
Using Flash Remoting, a Flash movie can connect to virtually any remote service
deployed on the server. The remote services can be deployed using various lan-
guages and technologies, including:
Java classes
JavaBeans™
Enterprise JavaBeans (EJB)
Seitenansicht 5
1 2 3 4 5 6 7 8 9 10 11 ... 39 40

Kommentare zu diesen Handbüchern

Keine Kommentare