知识卡片
REST以约束诱导属性
REST是网络软件的架构风格,通过成组约束诱导系统属性,而不是端点命名清单。客户端—服务器、无状态、可缓存等约束服务于可扩展、通用接口、独立部署与中介可见性。设计时应先明确需要的性能、可靠性、可修改性等属性,再评价约束组合;不能只凭使用HTTP判断已经获得这些效果。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- RESTful Web API导论 · 查看原书依据
REST provides a set of architectural constraints that, when applied as a whole, emphasizes scalability of component interactions, generality of interfaces, independent deployment of components, and intermediary components to reduce interaction latency, enforce security, and encapsulate legacy systems.
参考来源
- 位置:《RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)》第01章《RESTful Web API导论》(来源项目 book-sources;源文件:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch01.xhtml;小节:REST与Web)
- 结论依据:原文以REST是网络软件的架构风格,通过成组约束诱导系统属性,而不是端点命名清单的机制或场景为依据;同小节余文补充本卡所列条件,按2022年原书语境整理。
- 原始内容:REST provides a set of architectural constraints that, when applied as a whole, emphasizes scalability of component interactions, generality of interfaces, independent deployment of components, and intermediary components to reduce interaction latency, enforce security, and encapsulate legacy systems.