Reputation: 15491
Im interested in communicating from a ruby on rails app with a flex app. Basically I would supply some data from the rails app to the flex application to be used ( like variable names, and data) later on I also need some form of protection so only logged in users in the ruby app can use the flex application.
I plan to build my flex app in flash builder 6.5 premium. The rails app is 3.1
Ive searched online for some good resources but only find old gems and outdated blog posts. Anyone can recommend me some good resources on flex and ruby on rails?
Upvotes: 0
Views: 174
Reputation: 7895
For communication between the two - look at RubyAMF. This allows for you to use RemoteObject calls from Flex to seamlessly communicate with Ruby. As far as ensuring only authenticated users of your Ruby application can access the Flex application - this would be just like protecting any static asset (but in this case, you would protect the SWF file).
Here is an example tutorial using RubyAMF: http://panscendo.com/beginners-tutorial-to-rubyamf-with-restful-rails/
Upvotes: 2