RESTful Web Services Cookbook: Solutions for Improving Scalability and Simplicity

Capa
"O'Reilly Media, Inc.", 22 de fev de 2010 - 316 páginas

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
 

O que estão dizendo - Escrever uma resenha

Não encontramos nenhuma resenha nos lugares comuns.

Conteúdo

Chapter 1 Using the Uniform Interface
1
Chapter 2 Identifying Resources
29
Chapter 3 Designing Representations
45
Chapter 4 Designing URIs
75
Chapter 5 Web Linking
87
Chapter 6 Atom and AtomPub
107
Chapter 7 Content Negotiation
123
Chapter 8 Queries
137
Chapter 12 Security
217
Chapter 13 Extensibility and Versioning
235
Chapter 14 Enabling Discovery
251
Appendix A Additional Reading
257
Appendix B Overview of REST
261
Appendix C HTTP Methods
265
Appendix D Atom Syndication Format
271
Appendix E Link Relation Registry
277

Chapter 9 Web Caching
147
Chapter 10 Conditional Requests
159
Chapter 11 Miscellaneous Writes
183

Outras edições - Visualizar todos

Termos e frases comuns

Informações bibliográficas