Arquivo para 'Projetos'

CRUD with RestfulX: Part 1/2 – Retrieve

Lets create an example to show how to use basic database operations (aka CRUD – Create, Retrieve, Update, and Delete) with RestfulX.

The project is pretty simple and will evolve as I write future articles using this example: an application to control events and people that attend to these events.

Leia o restante do artigo

Introduction to RestfulX

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


Leia o restante do artigo

(Português) Temas do GMail e a experiência do usuário

Sorry, this entry is only available in Português.

(Português) O projeto começou a dar errado. E agora?

Sorry, this entry is only available in Português.