http://www.perlmonks.org?node_id=496911

kiat has asked for the wisdom of the Perl Monks concerning the following question:

Hi,

I've a developed a dynamic site with Perl and MySQL. I'm toying with the idea of designing the frontend (now chiefly HTML) with Flash to allow me to incorporate some of Flash's cool features whilst retaining the Perl code that generates the site's dynamic content. Has anyone done that sort of things before? Can you easily mix the two?

Would appreciate your sharing.

Thanks in advance :)

Replies are listed 'Best First'.
Re: Mixing Perl with Flash
by marto (Cardinal) on Oct 03, 2005 at 13:50 UTC

      AMF::Perl is definitely the right way to go. It is possible to get Flash to handle XML now but this has two drawbacks which totally kill performance: Flash is not that fast when it comes to XML processing and it does not support the mod_gzip 'compressing XML' tricks which may have saved it.

      Overall expect remoting to be at least 3x as fast as XML when dealing with Flash. The fact that AMF::Perl is just so simple to use only adds to the case.

      Note the recent Flash 8 release doesn't have the required Remoting components built in, but they can be downloaded and installed fairly easily.