RE: Ming and PHP not through a browser: Real-time clientside applications?

"Seth Wilson" <[email protected]> Fri, 9 Jan 2004 09:00:36 -0500
Newsgroups gmane.comp.web.ming.general
Message-ID <000d01c3d6b8$f75c3e50$2a41500a@met5852>
Justin,

You can do this in Flash already.  The concept is called "Flash
Remoting" and since the new version of Ming supports Flash MX
actionscript then one could code this functionality using Ming.

I have written an article for PHP Architect magazine using Flash
Remoting and PHP (which is officially unsupported by Macromedia, but it
can be done).

Have a look at it http://www.phparch.com/issue.php?mid=11 and see if you
can use the concepts.  I don't think it would be that difficult.  Rather
than use the Flash Authoring environment, you would use Ming to create
your .swf, and your .swf would contain all the remoting code.


Seth.

-----Original Message-----
From: [email protected] [mailto:[email protected]]
On Behalf Of Justin Clift
Sent: Friday, January 09, 2004 12:26 AM
To: Ming Fun Mailing List
Subject: [ming-fun] Ming and PHP not through a browser: Real-time
clientside applications?


Hi all,

Just had a random thought... does anyone here remember the PHP-GTK 
project, whereby they use PHP for creating client side applications 
through the GTK.

Well, I'm wondering if it'd be possible for creating client side Flash 
applications with Ming.  Like, running PHP on the client side, with Ming

compiled in to generate the Flash in real-time (i.e. pull data from a 
database then display it in 3D, etc).  Somehow it'd have to launch and 
then feed into a player and that bit I'm not sure about.

Not hard to launch a player, but how to get the player to play the flash

file being generated... ?

Maybe output to a temp file.swf and launch a standard Flash player with 
the path to the generated file?

Hmmm, might not be that hard after all.

This is interesting.  Anyone here familiar with the self executable 
flash player for Linux and be able to give some insight as to whether 
this might work?

:)

Regards and best wishes,

Justin Clift
_______________________________________________
ming-fun mailing list
[email protected] http://www.opaque.net/mailman/listinfo/ming-fun