开发者

Use cases of REST [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 11 years ago.

Is REST even designed to be used by a SaaS? Are there any examples of this? Wha开发者_开发知识库t's all the jazz about it whilst it's not even being used widely

Yes, REST is there for machines to communicate with each other and bla bla and bla. What's the use of it is no user-centric real-life software uses it where user commands the machine to communicate with another machine?

If this is the case, in which REST is there for APIs and SOLELY and ONLY web-services, what's all the jazz about it?


If you look closer at the site in which you have just placed your question, you may notice it uses REST actively.

I am not sure whether I understand your question properly (it may be that either my, or your English is insufficient), but if you look at the modern sites, you may notice that in most of them the user interacts with JavaScript (one machine), which interacts with the server (another machine).

I guess that REST is considered so good idea, because it is simple to define, simple to implement, and once you get used to it, you can interact with any service in similar manner.

If your question is about something different, accept my apologies.


At first: REST and WebServices are not quite the same things, although they're mostly (ab)used synonymously.

REST was designed to interchange pure data between 2 machines, while WebServices provide a whole service. So, answering your topic (which doesn't quite seem to to match your explaination for me...): No, REST was not designed to be used by SaaS or as a WebService, but it's easily possible.

"[...]no user-centric real-life software uses it[...]"

Are you saying, that data interchange between 2 machines is not being used in real-life software? Even opening a page in your browser contains a lot of communication of that kind. Or you eMail-client checking for emails once in a while.

REST and WebServices simply provide standardized interfaces for requesting a service or data/information from another machine.

I must confess, your formulation of the question is not quite clear to me, so I hope my answer covers it in some way.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜