Skip to Content
Ruby on Rails® for Microsoft Developers
book

Ruby on Rails® for Microsoft Developers

by Antonio Cangiano
April 2009
Intermediate to advanced content levelIntermediate to advanced
479 pages
12h 55m
English
Wrox
Content preview from Ruby on Rails® for Microsoft Developers

10.3. Summary

In the past few years, Web Services have assumed an increasingly important role in the world of computing. Think about all the cloud services and the APIs published by so-called Web 2.0 applications.

Ruby on Rails marries the most modern architectural style for Web Services, making it dead easy to publish RESTful Web Services and, thanks to ActiveResource, just as easy to consume them, whether these were published by another Rails application or an entirely different stack.

In its simplicity, ActiveResource does a lot for you. It transforms ActiveRecord-like methods into requests, composed by an HTTP verb, a RESTful URI, and an XML (or JSON) body. And when a response is received, this is handled and processed so that its details are available to the developer through model objects and their attributes.

REST is definitely the way to go when developing in Rails, but I hope to have you reassured that alternatives exist, albeit less straightforward.

The next chapter touches on the subjects of deployment, security, and optimization.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Ruby on Rails™ 3 Tutorial: Learn Rails™ by Example

Ruby on Rails™ 3 Tutorial: Learn Rails™ by Example

Michael Hartl

Publisher Resources

ISBN: 9780470374955Purchase book