Start using Ruby on Rails, Web Services and OAuth -


i running ruby on rails 3 , create application app1 acts web service. create ror application app2 can communicate (send/get information) app1 using oauth protocol.

what have start (i not expert programming in topics read lot , know how conceptually\theoretically works)? think implement custom code or maybe better use plugin or gem? why?

if possible, can write todo list , steps accomplish aim?

and, more important, can suggest me useful (awesome) resources (like books, blog posts, ...) about creating ror web services?

assuming decide kind of web service want, , restful xml web service acceptable choice, rails applications practically default. when generate scaffolding code, controller ready interface restful web service.

of course, that's not need know , do, subject seems covered following series of articles...

  1. http://css.dzone.com/news/rest-with-rails-part-1
  2. http://css.dzone.com/news/rest-with-rails-part-2-serving
  3. http://css.dzone.com/news/rest-with-rails-part-iii-using

unfortunately, there seem javascript errors on pages, they're still usable.

i know doesn't answer oauth part of question, article ( http://stakeventures.com/articles/2009/07/21/consuming-oauth-intelligently-in-rails ) apears have useful information on subject. note info here out of date if you'll using rails 3 because you'll want list gems in gemfile , run bundle install rather adding config.gem ... lines environment.rb file.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -