简体   繁体   English

RESTFul服务的协议/模式标准?

[英]Protocol/Schema Standard for RESTFul services?

Is there a general standard (in development) towards RESTful services? 是否有针对RESTful服务的通用标准(正在开发中)? Since it's HTTP, I'm not talking about the technical standard ofcourse, but a more common way of exposing methods and functionality and implementing those. 由于它是HTTP,我不是在谈论技术标准,而是一种暴露方法和功能以及实现这些标准的更常见方式。

And if not, are there general rules, to follow when developing a RESTFul service? 如果没有,在开发RESTFul服务时是否遵循一般规则?

Or should we base ourselves on general API design, where there's already tons of books written about. 或者我们应该基于通用的API设计,那里已经有大量的书籍。 Only question then to bear in mind, does it always translate to the web as well. 只有问题才能牢记,它是否也总是转化为网络。

No there is no standard for RESTful design. 没有RESTful设计的标准。 It is simply a style. 这只是一种风格。 Following the constraints of the style allows many different valid design approaches. 遵循样式的约束允许许多不同的有效设计方法。

You cannot translate many general procedural API design guidelines into web API design because distributed computing has many different issues than library level APIs. 您无法将许多通用过程API设计指南转换为Web API设计,因为分布式计算与库级API有许多不同的问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM