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

REST on Rails: An Enterprise Developer's Overview


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.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


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

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

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


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:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.