Home > Adobe, AIR, Flex, Open Source, RIA > Integrating Flex 2 and Ruby on Rails

Integrating Flex 2 and Ruby on Rails

In this article you will learn how to integrate Flex 2 with Ruby on Rails and a MySQL database by building a simple issue tracker application. By following the steps in this tutorial, you will also learn how to add functionality to the application, such as adding a new bug to the database, reading existing bugs, updating a bug, and deleting a bug.

Requirements

Flex Builder 2

Ruby 1.8.4+

Rails Gem 1.1.6+

MySQL 4+

Recommended: RadRails

Sample files:

Prerequisite knowledge:

Basic understanding of ActionScript, MXML, and Flex Builder.

Why 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.

Advertisements
Categories: Adobe, AIR, Flex, Open Source, RIA
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: