Build async remoting proxy classes from macros

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Build async remoting proxy classes from macros

Dion Whitehead Amago
I've created a repo for some useful remoting classes (specifically for
flash/js <-> Node.js, but should work on any platform):

https://github.com/dionjwa/haxe_remoting

You can automatically create and instantiate async proxy classes using
macros. They're fully typed and available for code completion (and the
server class is excluded from the client):

var remoteProxy =
haxe.remoting.Macros.buildRemoteProxyClass(SomeServerRemoteClass,
httpAsyncConnection);

Thanks Ritchie and Bruno Garcia for similar code, if not actual code
(Bruno with the NodeRelay).

It'll go on a haxelib soon.

--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Build async remoting proxy classes from macros

blackdog
On 11/09/2011 07:56 PM, Dion Whitehead Amago wrote:
> You can automatically create and instantiate async proxy classes using
> macros. They're fully typed and available for code completion (and the
> server class is excluded from the client):
Nice, I'll check that out.

R

--
Simplicity is the ultimate sophistication. ~ Leonardo da Vinci


--
haXe - an open source web programming language
http://haxe.org
Reply | Threaded
Open this post in threaded view
|

Re: Build async remoting proxy classes from macros

sledorze
In reply to this post by Dion Whitehead Amago
I use it; it's definitively cool ! :)
Reply | Threaded
Open this post in threaded view
|

Re: Build async remoting proxy classes from macros

Dion Whitehead Amago
Haxelib is up:
http://lib.haxe.org/p/remoting

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