Description
While the REST design philosophy has captured the imagination of web and enterprise developers alike, the usage of this approach to develop real web products and services is no picnic. This cookbook includes more than 100 recipes that can assist you make the most of REST, HTTP, and the infrastructure of the Web. You’ll be able to learn how you can design RESTful web products and services for client and server applications that meet performance, scalability, reliability, and security goals, it doesn’t 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 the usage of HTTP requests and responses, and XML, JSON, and Atom snippets. You’ll be able to 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 more than a few application scenarios
- Successfully design representations and URIs
- Implement the hypertext constraint the usage of links and link headers
- Understand when and how to use Atom and AtomPub
- Know what and what not to do to improve caching
- Learn how to implement concurrency control
- Deal with advanced use cases involving copying, merging, transactions, batch processing, and partial updates
- Secure web products and services and improve OAuth