O'Reilly logo

Flexible Rails: Flex 3 on Rails 2 by Peter Armstrong

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Refactoring to RubyAMF

111000011100011110000011110101000111

RubyAMF

RubyAMF is an Open Source, MIT-licensed (with one exception, as explained in a moment) Flash Remoting gateway for Ruby on Rails. It focuses on speed, and it integrates directly with RESTful Rails controllers via render :amf. Because of this, RubyAMF can be used as a more efficient wire format for sending information between Flex and Rails. (Of course, any time you see a claim that something is more efficient, you should do your own benchmarks or profiling. As such, I’m not going to do it for you here.)

RubyAMF also features a standalone implementation that doesn’t depend on Rails—it’s called RubyAMF and not RailsAMF. But because this book is about Rails in particular ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required