This tutorial is part 3 of a tutorial about Flex, Ruby on Rails and WebORB. This is the full List:
—Tutorial Flex on Rails part 1: Introduction
—Tutorial Flex on Rails part 2: Install Ruby on Rails
—Tutorial Flex on Rails part 3: Install WebORB
—Tutorial Flex on Rails part 4: Building a login system
What is WebORB?
WebORB for Rails supplying a connection between Ruby on Rails and Flex (or Flash). WebORB for Rails creates services that can be called by Flex (or Flash). WebORB can be installed as a plugin in every Rails application. The services can be called trough using the Flex Data Services.
Installing the WebORB plugin
* Open the console and go to your ruby folder. (Instant Rails: Right mouse button on the I in the right bottom of your taskbar > Rails Application > Open Ruby Console Window)
* Create a rails project:
*If the project is created we are going to the project directory:
*Install the WebORB plugin
â€œ>ruby script/plugin install http://themidnightcoders.net:8089/svn/weborb''
*Start your webserver:
* Open your webbrowser
http://localhost:3000/examples/example.html a Flex application will be opened
* Click the button “Get Computer Info”, if everything is going alright the field will be filled.