Skip to content

Instantly share code, notes, and snippets.

@downgoon
Last active April 20, 2017 01:43
Show Gist options
  • Save downgoon/8677d7658d618e76ff15167cb05717ab to your computer and use it in GitHub Desktop.
Save downgoon/8677d7658d618e76ff15167cb05717ab to your computer and use it in GitHub Desktop.
deep thinking in RESTful API

对 API 的认识,要提升到“划时代”的高度。

  • API: 页面彻底分离。
  • 文档: 文档被提升到新的高度,否则API没有使用价值。如何提高API开发者和使用者之间的沟通效率。
  • 互联: OAuth2.0 不同所有权的站点开始互联。
  • 分层: API Gateway 可以完成很多API共同的东西,让API的开发者只专注业务。比如授权呀,监控呀。
  • 自动化: API 生成自动化。只要写数据库脚本,然后API就自动生成了,而且是运行时。

开源项目

  • API 规范: Swagger 思考下 ElasticSearch 标准化带来的好处。
  • API Gateway: kong
  • API Auto: 数据库API自动化。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment