• Subscribe  

10 Flex and Ruby on Rails Integration Examples

Posted by Charles | September 20, 2007 .

update: Added RubyAMF.

I love RIA technologies and Ruby on Rails. I always think combination of the these two could be greatest system framework. I’m glad Adobe recognizes that too, so do a few great guys. Here are the examples:

Integrating Flex 2 and Ruby on Rails

This Adobe article was written by Derek Wischusen from This is a full example writing including all the source code and the details on how it works. Very good start point to understand the beauty and power of the dual, Flex and Ruby on Rails.

When using Flex you have several options to choose from for back-end server software. So why might you want to choose Rails? Ruby on Rails, like Flex, is a well thought out, elegantly simple framework. As you will see, Rails uses code generation and metaprogramming to make it incredibly easy to integrate with a database using almost no SQL code. Furthermore, when you use Rails, you also get to use Ruby, a programming language that is both extremely powerful and easy to use. Using Flex and Ruby on Rails, you will be able to get more done with less code.

Flex + Rails + Ruby = RIA Nirvana.

I can’t agree more.

Combining the Power of Flex2 and Ruby on Rails

This is a combination of both vediocast and podcast. It’s a interesting way of delivering technology content itself. I’m not it’s good way of getting hand on something but rather a entertainment of learning to love a piece of great technology.

RubyOnRails and Flex

Stuart Eccles from posted the mini serial article on the integration of Ruby on Rails and Flex. Here they are, Part 1Part 2Part 2 Extra Time. Just remind you they are not some quick blog posts. Those are lengthy technical details step by step. If you know both technologies, you’d love these. Thank you!

Flex On Ruby on Rails

Automating the communication between the client and server. It’s written by Harris Reynolds. The server technology it used is WebORB by Midnight Coders ( This WebORB approach is somewhat different because the server side has been handled by not just spiting out XML, rather, a more robust engine. If you are considering a big scale serious application, this could be solution for you.

Flex for Rails Developers

If you are looking for a Flex + Ruby community, then is the place. The greatest part of this community is that you can pick up a bunch of components for your Flex Ruby experiment.

Flexible Rails

Peter Armstrong’s Flexible Rails is a site that prompts his ebook, Flexible Rails, which costs $20. Besides the book, there are good amount of information and sources relate to Flex and Rails.

RailsLog Visualizer

I’ve mentioned this couple of times, only because this tool is still evolving, now on Adobe AIR too. Well, it’s not really integrating with Rails, however, it’s close to Rails enough to be listed here.

RESTFul Rails from Flex

If you have no idea what RESTFul means, then you probably is not in the Rails camp. In that case, you might know what DRY means either. But never mind, this article will help you some. It’s not long but very very thoughtful approach for Flex and Rails integration.

Adobe Flex SDK for Rails

Yes, Adobe is still very trendy and hype and it does Rails too with Flex. They put it open source on Google Code.

WebORB for Ruby on Rails

WebORB for Rails is server-side technology enabling connectivity between Flex and Flash Remoting clients and Ruby on Rails applications. WebORB for Rails can be installed as a plugin into any Rails application to expose Ruby classes as remote services. The product provides a complete implementation of the Adobe’s AMF0 and AMF3 messaging protocols and thus supports any Flash Remoting or Flex client. This is a very serous product that you can take it as great solution for a real application.

Here are a few articles from them: Invoking Ruby objects with <mx:RemoteObject>.


People doing Flash might familiar with AMFPHP, the open source Flash Remote framework allows Flash or Flex communicate with PHP backend. RubyAMF does the same thing for Ruby. Like WebORB, it’s not directly involved with Rails but it provides the fundamental building block to enable high performance Flex Rails integration, beyond XML messaging.

Leave a Comment

If you would like to make a comment, please fill out the form below.




To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Related Posts

11 Comments so far
  1. Aaron Smith  September 20, 2007 11:07 am

    You forgot the most important one of all. RubyAMF. -Aaron

  2. Moxie  September 20, 2007 11:14 am

    yes, indeed. Maybe because the site is way way way too dark to read:-)

  3. Aaron Smith  September 20, 2007 11:42 am

    Only one compliant so far – from you. No worries. Maybe I’ll change it all to white.

  4. Aaron Smith  September 20, 2007 12:11 pm

    Thanks for the posting update!

    Actually RubyAMF has a plugin for rails. That plugs directly into your controllers with “render :amf”. I won’t go into details of what else RubyAMF does, but it’s the next step after WebORB.

    Also, check out this post ( on rubyamf blog, trying to get some more feedback about colors etc.


  5. bilaus emmanuel  October 22, 2007 2:48 pm

    ce sa zik k nuj nah ata ete

  6. […] Flex and Ruby questions: I could recommend you to look throw this article: and this one […]

  7. ???? ? ???? » Flexible Rails  March 25, 2008 6:41 am

    […] PuTTY Connection Manager (??????? 1, 2008) […]

  8. priya  May 20, 2008 9:19 pm

    can any one please tell me how to create assessments(quiz) in flex?

  9. wedding websites  July 2, 2010 3:37 pm

    “Also, check out this post ( on rubyamf blog, trying to get some more feedback about colors etc.”

    good stuff here

  10. Susrut Mishra  July 24, 2010 11:48 am

    Thanks for the list. It is helpful.

  11. .Net Developers Offshore  November 26, 2015 11:25 pm

    Very fantastic and well-written post.Its extremely good and very helpful for me.Thanks for sharing this great post with us.


Direct TV Offers - usdirect has the best directtv deals