Bom senso no uso da Tecnologia da Informação
Posts tagged framework
“Advanced” installation of RestfulX into your Rails app
Nov 3rd
After you create your Rails project using rails , you can configure it to use RestfulX using the command script/generate rx_config. This command creates all the configuration files and downloads the RestfulX library file (restfulx_framework.1.2.4.swc, the current version while I write this post).
Alternatively you can also download the sorce of the restfulx_framework project and include it in your Flex project. To do so, use git to download the source: git clone git://github.com/dima/restfulx_framework.git. Now you shoud create the configuration files using this command: script/generate rx_config --skip-framework. The --skip-framework tells the rx_config command to generate the config files without trying to hit the server to download the framewokr library.
More >
Introduction to RestfulX
Oct 29th
Although I still wrote two posts about that (a screencast and a tutorial), this article is the first of a series of articles I pretend to write about RestfulX, an incredible framework to integrate Flex (or AIR) with RubyOnRails, Google App Engine, CouchDB, SQLite or even with Juggernaut (a Rails plugin to push messages from the server to the client). In the very first posts I’ll focus on the integration between Flex and Rails. This will be a kind of “conceptual” post, but is as important as the “practical” ones.
The main idea behind RestfulX is to bring to Flex some of the development principles of rails, using a REST based communication. For example, if we define a model named Project that has many Tasks, we could do this on the Rails side:
@project = Project.new @task = Task.new @task.project = @project @project.tasks.size # The result is 1
And the RestfulX framework brings all these concepts to Flex (through ActionScript):
var proj:Project = new Project; var task:Task = new Task; task.project = proj; proj.tasks.length; // The result is 1
(Português) RestfulX – Introdução, instalação, configuração e primera aplicação em 5 minutos
May 28th
Sorry, this entry is only available in Português.



Últimos Comentários