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

This node falls below the community's threshold of quality. You may see it by logging in.
  • Comment on Flash interface to perl database script

Replies are listed 'Best First'.
Re: Flash interface to perl database script
by steves (Curate) on Sep 29, 2004 at 11:03 UTC

    Flash runs client side in the browser, so I can't see how it could access a database directly. Flash supports loading XML. A client I work with has a Flash application that takes XML we spit out at regular intervals (using Perl of course!) and loads that to drive his Flash application. The XML we generate is made available as a URL. So we just dump it out and the Flash application, running all over the place in browsers, picks up the changes.

      How looks this interface? Could you show url?
Re: Flash interface to perl database script
by geekgrrl (Pilgrim) on Sep 29, 2004 at 17:10 UTC
    http://simonf.com/amfpython/ is a site about using Perl to do Flash Remoting. This site has information about how to use Flash and Perl to create rich internet apps. Also there are some example programs you can look at.

    Quick overview: You have to make your own flash interface to interact with your database. You use Flash Remoting to send data from your DB to the Flash application. Check out AMF::Perl.

    nmcfarl just reminded me of Ming which is a way to generate flash from Perl. kind of different, but worth mentioning.
      geekgrrl thanx!
      you made me wake up with some good news! i've always been wondering how to use a cgi script to generate nice flash pages.. nice nice

      thanx again! (although i'm not the initiate poster of this thread :-D )

      --
      to ask a question is a moment of shame
      to remain ignorant is a lifelong shame
Re: Flash interface to perl database script
by gellyfish (Monsignor) on Sep 29, 2004 at 12:04 UTC

    Maybe you explain better what it is that you want to do?

    A flash movie is quite capable of making a request to a server side CGI program written in Perl - and that CGI program can pass data back to the client side flash movie.

    Beyond that there isn't much more anyone can tell you without knowing what you are trying to do.

    /J\

    A reply falls below the community's threshold of quality. You may see it by logging in.
Re: Flash interface to perl database script
by EdwardG (Vicar) on Sep 29, 2004 at 11:39 UTC

    DBI is pretty flash, although for real bling-bling some prefer Class::DBI.