Search
Twitter
« From the Bunny Hill to the Black Diamond: Salesforce.com Covers the Gamut | Main | Intro to Force.com Programming »
Tuesday
Mar222011

Ruby developer? Here's a gem...

In a Salesforce.com blog post on Friday, Quinton Wall writes that,

" In response to an increase in requests from Ruby developers for guidelines on connecting the Force.com platform from a Ruby On Rails 3 application, I have written a custom Omniauth strategy to connect to Force.com, used Httparty to handle my REST calls, and put it all on github with a quick how-to guide to get you started. " 

 

Httparty and Omniauth are the two Ruby gems that he chooses to zero in on in the post, saying that they both embrace simplicity and are extremely relevant to writing a simple Rails 3 implementation for working with the Force.com REST APIs.

 

According to Wall's intro on github, OAuth2 is becoming the defacto standard for web2.0 authentication and makes customized strategies easy.  Httparty is a great tool for handling your REST calls.  Features include basic http authentication, default request query string parameters, automatic parsing of JSON and XML into ruby hashes based on response content-type, easy get/post requests.

 

I am now digging into the diagrams in his how-to guide to learn more about connecting the dots between OAuth2 and Force.com. His tutorial is easy to follow and thorough, and  no doubt  will help the Ruby developers looking for help with connecting Force.com from Ruby on Rails 3 apps.



PrintView Printer Friendly Version

EmailEmail Article to Friend

References (1)

References allow you to track sources for this article, as well as articles that were written in response to this article.

Reader Comments

There are no comments for this journal entry. To create a new comment, use the form below.

PostPost a New Comment

Enter your information below to add a new comment.

My response is on my own website »
Author Email (optional):
Author URL (optional):
Post:
 
All HTML will be escaped. Hyperlinks will be created for URLs automatically.