Facilitating the Spread of Knowledge and Innovation in Professional Software Development

Write for InfoQ


Choose your language

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.

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