Topic: Flash remoting with Ruby On Rils

I've been using a great Flash remoting alternative with PHP, from Ghostwire Studios:

http://ghostwire.com/go/28

"PHPObject is an opensource alternative to Flash Remoting for PHP developers. With PHPObject, you can call a method of a PHP class/library on your web server as if the class/library was defined in Flash itself. It takes care of your client-server connections and makes passing of variables (properties) between Flash and PHP easy, and thereby providing a convenient way to connect rich media clients with data and business logic residing on your server."

It is the best practice I've seen so far. So usuable and easy to use. Flash just calls a PHP method and the PHPObject just passes back the result.

Does anybody know a similar thing for Ruby On Rails? Something like a ported version from it...

I've seen some solutions for connecting Flash and Rails, but why do we want to use for example Flex backends if we have Ruby On Rails? smile

Thank you for your advice!

Liquid

Re: Flash remoting with Ruby On Rils

weborb => http://www.themidnightcoders.com/weborb … /index.htm

can be used as a back end for simple flash remoting front ends in addition to flex - have a look @ http://blog.vixiom.com/2006/08/23/flash … -tutorial/

Re: Flash remoting with Ruby On Rils

RubyAMF is the other alternative to weborb. You can sprinkle remoting in controllers with REST. No seperate service files needed.

check out rubyamf.org

Aaron

Re: Flash remoting with Ruby On Rils

Forget about PHP, there everything you can do with Ruby and without Flash Remoting.
Just make a controller or action in Rails and call it from flash with sendAndLoad method.
Check this out http://seb.box.re/2006/6/30/flash-and-ruby-on-rails
------------------------------------------------------------------------------
www.sudokuplay.net

Last edited by phoenix26 (2008-04-12 03:42:34)