RESTful Web Services Cookbook
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...
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
“無(wú)論您打算使用何種語(yǔ)言構(gòu)建RESTful服務(wù),本書(shū)都是一本極佳的指南。內(nèi)容豐富、考慮周到,囊括了與服務(wù)設(shè)計(jì)與實(shí)現(xiàn)相關(guān)的很多最佳實(shí)踐?!?/p>
——Eben Hewitt 架構(gòu)師 “Java SOA Cookbook”作者
