BT

InfoQ Homepage News REST on Rails: An Enterprise Developer's Overview

REST on Rails: An Enterprise Developer's Overview

Bookmarks

Bruce Tate continues his "Crossing Border" series for IBM DeveloperWorks with REST on Rails, an introduction to how Rails can be used to develop Web services using, and interacting with, REST (Representational State Transfer) technologies. In previous articles in the series, the Java-turned-Ruby guru has covered unit testing, typing, DSLs, continuations, and concurrent programming from an enterprise Java standpoint.

In REST on Rails, Tate presents the concepts behind REST in a simple way explaining that the core abstraction in REST is a remote resource rather than a remote procedure call, and that the technologies behind REST are standard, just HTTP, XML, and TCP/IP in the main cases. Tate continues to show how to create a simple controller action that can generate XML or HTML depending on the client, and how to query the action with a basic Ruby and/or Java script.

Rate this Article

Adoption
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

  • SimplyRestful

    by Bruce Tate /

    Your message is awaiting moderation. Thank you for participating in the discussion.

    When the Rails web services API settles down, I'll follow this article up with a version for SimplyRestful. DHH described the approach in his keynote, and blogged about it at loudthinking.com.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

BT

Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
Country/Zone:
State/Province/Region:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.