RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity (Paperback)
暫譯: RESTful 網路服務食譜:提升可擴展性與簡單性的解決方案 (平裝本)

Subbu Allamaraju

  • 出版商: O'Reilly
  • 出版日期: 2010-03-30
  • 定價: $1,400
  • 售價: 8.8$1,232 (限時優惠至 2025-02-02)
  • 語言: 英文
  • 頁數: 316
  • 裝訂: Paperback
  • ISBN: 0596801688
  • ISBN-13: 9780596801687
  • 相關分類: JVM 語言
  • 立即出貨 (庫存=1)

買這商品的人也買了...

相關主題

商品描述

While the REST design philosophy has captured the imagination of web and enterprise developers alike, using this approach to develop real web services is no picnic. This cookbook includes more than 100 recipes to help you take advantage of REST, HTTP, and the infrastructure of the Web. You'll learn ways to design RESTful web services for client and server applications that meet performance, scalability, reliability, and security goals, no matter what programming language and development framework you use.

Each recipe includes one or two problem statements, with easy-to-follow, step-by-step instructions for solving them, as well as examples using HTTP requests and responses, and XML, JSON, and Atom snippets. You'll also get implementation guidelines, and a discussion of the pros, cons, and trade-offs that come with each solution.

  • Learn how to design resources to meet various application scenarios
  • Successfully design representations and URIs
  • Implement the hypertext constraint using links and link headers
  • Understand when and how to use Atom and AtomPub
  • Know what and what not to do to support caching
  • Learn how to implement concurrency control
  • Deal with advanced use cases involving copying, merging, transactions, batch processing, and partial updates
  • Secure web services and support OAuth

商品描述(中文翻譯)

雖然 REST 設計哲學吸引了網頁和企業開發者的想像,但使用這種方法來開發真正的網路服務並不容易。本書包含超過 100 個食譜,幫助您利用 REST、HTTP 及網路基礎設施。您將學習如何設計符合性能、可擴展性、可靠性和安全性目標的 RESTful 網路服務,無論您使用哪種程式語言和開發框架。

每個食譜包含一到兩個問題陳述,並提供易於遵循的逐步解決方案說明,以及使用 HTTP 請求和回應的範例,還有 XML、JSON 和 Atom 片段。您還將獲得實作指導,以及對每個解決方案的優缺點和權衡的討論。

- 學習如何設計資源以滿足各種應用場景
- 成功設計表示和 URI
- 使用連結和連結標頭實作超文本約束
- 理解何時以及如何使用 Atom 和 AtomPub
- 知道支持快取時該做什麼和不該做什麼
- 學習如何實作併發控制
- 處理涉及複製、合併、交易、批次處理和部分更新的進階使用案例
- 確保網路服務的安全性並支持 OAuth