Blog to discuss Midnight Coders products features, ideas and trends in development of Rich Internet Applications

Friday, August 04, 2006

WebORB for Rails (now with Flex RPC integration!)

When you are the very first person on the planet to try something really, really cool, it feels absolutely phenomenal!! Today is one of those days when after a streak of countless hours the team held is breath and Harris pushed a button in his Flex client and flawlessly invoked a method in a Ruby object using the following AS3 code:

var remoteObject = new RemoteObject();
remoteObject.destination = "FlexRemotingTest";
remoteObject.echoInt.addEventListener("result", onEchoInt);
remoteObject.addEventListener("fault", onFault);
remoteObject.echoInt( 1 );

Super small step for our little (but extremely mighty) development team - a HUGE step for the worldwide Flex and Ruby on Rails development community. Ladies and gentlemen, I am proud to be the first to announce: Midnight Coders has done the very first successful invocation of Ruby from Flex using AMF3! (I feel like I just came from a space flight..)

Here are a few supporting screenshots:

Flex client source code:


Flex client running:


Source of the ruby class:


p.s. Wish you very here to share the excitement.... :)

3 Comments:

Anonymous Anonymous said...

Hey great news guys! well done! Im itching to play with it.

How are you directing the remoting calls to the test folder? routing, or do you have some sort of gateway?
Campbell (xsive.co.nz)

6:07 PM

 
Blogger Jed Hurt said...

That's great news. Way to go! I can't wait to share in the excitement myself. Keep up the good work!

12:31 PM

 
Anonymous Chris said...

Wowowowowow! I love you guys in a way that isn't merely physical. When can the public get our grubby hands on this?

9:03 AM

 

Post a Comment

<< Home