您最想要复制哪些Web API或最受欢迎? [英] What web APIs would you most want to replicate or are the most popular?

查看:86
本文介绍了您最想要复制哪些Web API或最受欢迎?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

肥皂,REST,xmlrpc。 Facebook,twitter,[插入web 2.0网站]。什么是最终的Web API,哪些是您最有可能在自己的代码中复制的,什么原因?似乎有些Web API在开发人员中引起恶心,而其他调用纯粹的崇拜。如果你被告知要开发一个你会模拟的网站/产品的API(即使它是过度的)?

解决方案

HTTP 本身。



提供的原语具有表达力,但总体上足以应用于广泛的问题。使我的头发变灰的API是对我将如何使用它们做出不必要的假设的。 HTTP是非常规定的。


Soap, REST, xmlrpc. Facebook, twitter, [insert web 2.0 site]. What is the definitive web API and which would be the one that you would most likely replicate in your own code and for what reason? It seems that some web APIs invoke nausea in developers while other invoke pure worship. If you were told to develop an API for a website/product which would you emulate (even if it was overkill)?

解决方案

HTTP itself.

The primitives provided are expressive, yet general enough to be applied to a vast range of problems. The APIs that turn my hair grey are ones that make unwarrented assumptions about how I am going to use them. HTTP is beautifully non-prescriptive.

这篇关于您最想要复制哪些Web API或最受欢迎?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆