Recipe 20.5 Configuring Flash Remoting for PHP or Perl

20.5.1 Problem

You want to use Flash Remoting with something other than ColdFusion MX, .NET, or J2EE, which are the only three server-side platforms officially supported by Macromedia.

20.5.2 Solution

Use a third-party solution such as AMFPHP (http://amfphp.org), which offers PHP support, or FLAP (http://www.simonf.com/flap), which offers Perl support.

20.5.3 Discussion

Although the AMF format is not open or documented, it turns out that it is the same format used by remote shared objects. An enterprising individual, Wolfgang Hamann, reverse-engineered the AMF format, allowing developers to build open source libraries to support Flash Remoting in server-side languages not supported by Macromedia.

The AMFPHP project implements a Flash Remoting library for PHP. The Flash Remoting in Perl project (FLAP) implements a Flash Remoting library for Perl. Refer to their web sites (http://amfphp.org and http://www.simonf.com/flap, respectively) for installation, configuration, and support information.

20.5.4 See Also

OpenAMF for Java (http://www.openamf.org)



ActionScript Cookbook
ActionScript 3.0 Cookbook: Solutions for Flash Platform and Flex Application Developers
ISBN: 0596526954
EAN: 2147483647
Year: 2005
Pages: 425

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net