[haXe] haXe Remoting

Lee McColl-Sylvester lee.mccoll at lyons-group.co.uk
Mon Apr 3 10:23:08 CEST 2006


I had a feeling that was the route you were going to take.  I plan to
use this extensively as I use XML transfers extensively in AS2.  I will
probably build a framework for handling this which I'll post to the
community should it prove useful.  It's often common to require a client
side and server side serializer/deserializer for XML.

On another topic, I've heard nothing back from Boris with regard to
hxdt, so I'm going to go ahead with it anyway... I'll need a week or so
to collect myself and I'm hoping to get some good community help with
the project.

Regards,
Lee



-----Original Message-----
From: haxe-bounces at lists.motion-twin.com
[mailto:haxe-bounces at lists.motion-twin.com] On Behalf Of Nicolas
Cannasse
Sent: 03 April 2006 09:13
To: haxe at lists.motion-twin.com
Subject: [haXe] haXe Remoting

> What transfer system is used for Flash <-> Server?  Can the server
> "push" data to the Flash player without the Flash player first sending
> a request?

There is several kind of communications possible :

Flash -> Server : through HTTP/LoadVars or XMLSocket , always
asynchronous

Flash -> JS : through FSCommand (async) or Flash8 ExternalInterface
(sync)

JS -> Flash : loading a SWF that uses a LocalConnection (async) or using
Flash8 ExternalInterface (sync ?)

JS -> Server : using XMLHttpRequest (sync OR async)

The server itself can't establish connections on the client, so both
Server -> Flash and Server -> JS are simply results of a
client-established operation. Pushing Server data onto the client can
only be done in Server -> Flash using XMLSocket. This not the thing I'm
concentrating on right now.

Nicolas

-- 
haXe - an open source web programming language
http://haxe.org



More information about the Haxe mailing list