concept Flex in category rails

appears as: Flex
Flexible Rails: Flex 3 on Rails 2

This is an excerpt from Manning's book Flexible Rails: Flex 3 on Rails 2.

1.1.1. Overview of Flex 3

In Flex 3, we write code in MXML (XML files with a .mxml extension; M for Macromedia) and ActionScript (text files with a .as extension) files and compile them into a SWF file, which runs in the Flash player. This SWF is referenced by an HTML file, so that when a user with a modern web browser loads the HTML file, it plays the Flash movie (prompting the user to download Flash 9 if it’s not present). The SWF contained in the web page can interact with the web page it’s contained in and with the server it was sent from.

Even if you’ve never created a Flash movie in your life, don’t consider yourself a designer, and wouldn’t recognize the Timeline if you tripped over it, you can use Flex to create attractive applications that run in the Flash player. Flex development is easily learned by any intermediate-level developer with either web or desktop UI (such as Windows Forms or Java Swing) programming experience.

Next, install the Flex 3 SDK. As I write this, Flex 3 is in Beta 2, which is available for download from http://labs.adobe.com/technologies/flex/sdk/flex3sdk.html. Select the license agreement check box about halfway down the page, and then click the Download Flex 3 SDK 3 Beta 2 for All Platforms (ZIP, 68.6 MB) link under Latest Milestone: Flex 3 SDK Beta 2. We’ll download a file named flex3sdk_b2_100107.zip.

The best resource for how to use the compilers is Building and Deploying Flex Applications, a 260-page (as of Flex 3, Beta 2) PDF (flex3_buildanddeploy.pdf). You can download it from http://www.adobe.com/support/documentation/en/flex/. Pay close attention to the chapter “Using the Flex Compilers.”

Figure 2.16. “Hello World” from Flex