
RESTful Web Services 食谱
RESTful Web Services Cookbook
Subbu Allamaraju、Subrahmanyam Allamaraju · 初版 2010 年
10人推荐
12位读者提及
15次提及
为什么值得读
- 阐明核心场景并指明何时该用或弃用
- 跨编程语言中立且给出精妙的URL设计思路
- 超越常规配方列表并深入服务架构拓展
Hacker News 上怎么说
正在加载完整评论……

RESTful Web Services Cookbook
Subbu Allamaraju、Subrahmanyam Allamaraju · 初版 2010 年
正在加载完整评论……
可以试试这本 REST cookbook:http://www.amazon.com/RESTful-Web-Services-Cookbook-Scalabil...
Try the REST cookbook: http://www.amazon.com/RESTful-Web-Services-Cookbook-Scalabil...
……在指向某个端点时,如果它生成的响应通常是用 query string 提供的,可以在 URL 里使用分号和逗号,比如:http://site.com/generate;lang=en,size=32,weight=78 《RESTful Web Services Cookbook》[1] 给了我这个灵感(一本神书),而且我喜欢它的一点是,中间代理软件似乎更少去篡改这种 URL,而有些代理出于某些原因会直接拒绝透传 query string 参数……
…semi-colon and comma characters in URLs when pointing at an endpoint that generates a response that would typically be provided by a query string, e.g.: http://site.com/generate;lang=en,size=32,weight=78 RESTful Web Services Cookbook[1] gave me the idea (a fantastic book) and what I like about it, is that interstitial proxy software seems to molest the URL less where as some refuse to pass through query string params for some reason…
……带 JS 前端的 RESTful API,容我推销一下我自己的项目:http://phreeze.com/(REST 服务端是用 PHP 写的)。这里有一本与语言无关、深入探讨 RESTful 服务的书:http://www.amazon.com/RESTful-Web-Services-Cookbook-Scalabil...
…RESTful API with JS front end, please excuse me pimping my own project: http://phreeze.com/ (the REST server is in PHP) Here's a language-neutral book that goes into RESTful services: http://www.amazon.com/RESTful-Web-Services-Cookbook-Scalabil...
我推荐这本书 http://www.amazon.com/RESTful-Web-Services-Cookbook-Scalabil... 真的棒极了。它不仅仅是个菜谱式的清单,还讲透了很多非常关键的 REST 场景,以及到底什么时候该用、什么时候不该用 REST。
I'd recommend this book http://www.amazon.com/RESTful-Web-Services-Cookbook-Scalabil... It's amazing, really. It's not just a recipies list, it explains a lot of very important REST cases, and also when to use or not to use REST.
……最佳实践。这里有两个我最喜欢的 REST 资源(谐音梗双关一下)。Richardson 成熟度模型:迈向 REST 荣光的台阶 http://martinfowler.com/articles/richardsonMaturityModel.htm... 《RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity》http://www.amazon.com/gp/product/0596801688 另外我也很期待前几周这里发过的 REST problem 标准能被广泛采纳。……
…best practices. Here are two of my favorite REST resources (pun intended). Richardson Maturity Model: steps toward the glory of REST http://martinfowler.com/articles/richardsonMaturityModel.htm... RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity http://www.amazon.com/gp/product/0596801688 And I am looking forward to widespread adoption of the REST problem standard posted here a few weeks ago.…
并不是所有业务/领域逻辑都是面向文档的。你确实可以把任何 API 都映射成“文档”,但结果通常会非常糟糕。有一本 Subbu Allamaraju 写的极好的书——《RESTful Web Services Cookbook》,它涵盖了实用 REST API 的方方面面,还能培养出非常有用的 REST 适用性嗅觉。
Not all business/domain logic is document-oriented. You can map any api to “documents” but result will be horrible usually. There is an excellent book — “RESTful Web Services Cookbook” by Subbu Allamaraju, it covers all aspects of practical REST API and trains very useful sense of REST applicability.