开发者

How to implement RESTful service in Ruby [closed]

开发者 https://www.devze.com 2023-03-15 09:16 出处:网络
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.

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 question

For 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消