How to implement RESTful service in Ruby [closed]
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
开发者_开发问答Closed 9 years ago.
Improve this questionFor educational and prototyping purposes I would like to learn how to implement simple RESTful service in Ruby without using some big framework like RoR.
I found a lot of examples hoe to do it in RoR, or how to implement self-serviced SOAP services, buy I could not find something similar for REST.
Can you provide any link to such an examples. Or if it's more complicated than I think (looking at the SOAP4R), any explanation of why?
Or, as I'm just starting to look deeper in Ruby, what are the basics of setting up a web application (different than RoR) - i.e. server bindings, app server parts, etc.
Thanks
Ditto coreyward. Take a look at Sinatra. It's pretty simple and you can throw some stuff together pretty quickly.
精彩评论