首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >适合REST架构模式的应用程序?

适合REST架构模式的应用程序?
EN

Stack Overflow用户
提问于 2012-06-18 19:39:40
回答 1查看 463关注 0票数 2

我最近读到了这篇discussion at SO,其中有人评论说,并不是所有的应用程序都适合基于REST的架构。

代码语言:javascript
复制
Here what I mean by "REST based architecture" is the whole thing with RESTful apis + HATEOAS. Most of the examples on web refer to the "coffee shop" example and they highlight the Hateoas part through the workflowy bit of creating an order --> update/confirm --> pay --> take delivery. So is REST most suitable for apps that has a prominent state-transition in them, or is it equally suited for other kinds of apps, where probably we should think more in terms of state transitions to have REST working for us
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2012-06-18 20:02:53

REST同样适用于其他类型的应用程序,在这些应用程序中,我们应该更多地考虑状态转换。对于如何实现这一点,Constructing the User Interface with Statecharts是一个很好的指南(如果你能以合理的价格获得一份副本)。当你阅读它的时候,只要确保你将“用户界面”替换为普通的旧“界面”即可。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/11082040

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档