RESTful Web Services
Subtitle: Web services for the real world
Publisher: O'Reilly Media; O'Reilly
Published: May 2007
Language: eng
Format: Paperback
Number of pages: 448
ISBN-13: 9780596529260
Description: Shows how to use the REST architectural style to create web sites that can be used by computers as well as machines, providing basic rules for using REST and real-life examples of such Web services.
Table of contents: title: Chapter 1 The Programmable Web and Its Inhabitants; title: Kinds of Things on the Programmable Web; title: HTTP: Documents in Envelopes; title: Method Information; title: Scoping Information; title: The Competing Architectures; title: Technologies on the Programmable Web; title: Leftover Terminology; title: Chapter 2 Writing Web Service Clients; title: Web Services Are Web Sites; title: del.icio.us: The Sample Application; title: Making the Request: HTTP Libraries; title: Processing the Response: XML Parsers; title: JSON Parsers: Handling Serialized Data; title: Clients Made Easy with WADL; title: Chapter 3 What Makes RESTful Services Different?; title: Introducing the Simple Storage Service; title: Object-Oriented Design of S3; title: Resources; title: HTTP Response Codes; title: An S3 Client; title: Request Signing and Access Control; title: Using the S3 Client Library; title: Clients Made Transparent with ActiveResource; title: Parting Words; title: Chapter 4 The Resource-Oriented Architecture; title: Resource-Oriented What Now?; title: What’s a Resource?; title: URIs; title: Addressability; title: Statelessness; title: Representations; title: Links and Connectedness; title: The Uniform Interface; title: * That’s It!; title: Chapter 5 Designing Read-Only Resource-Oriented Services; title: Resource Design; title: Turning Requirements Into Read-Only Resources; title: Figure Out the Data Set; title: Split the Data Set into Resources; title: Name the Resources; title: Design Your Representations; title: Link the Resources to Each Other; title: The HTTP Response; title: Conclusion; title: Chapter 6 Designing Read/Write Resource-Oriented Services; title: User Accounts as Resources; title: Custom Places; title: A Look Back at the Map Service; title: Chapter 7 A Service Implementation; title: A Social Bookmarking Web Service; title: Figuring Out the Data Set; title: Resource Design; title: Design the Representation(s) Accepted from the Client; title: Design the Representation(s) Served to the Client; title: Connect Resources to Each Other; title: What’s Supposed to Happen?; title: What Might Go Wrong?; title: Controller Code; title: Model Code; title: What Does the Client Need to Know?; title: Chapter 8 REST and ROA Best Practices; title: Resource-Oriented Basics; title: The Generic ROA Procedure; title: Addressability; title: State and Statelessness; title: Connectedness; title: The Uniform Interface; title: This Stuff Matters; title: Resource Design; title: URI Design; title: Outgoing Representations; title: Incoming Representations; title: Service Versioning; title: Permanent URIs Versus Readable URIs; title: Standard Features of HTTP; title: Faking PUT and DELETE; title: The Trouble with Cookies; title: Why Should a User Trust the HTTP Client?; title: Chapter 9 The Building Blocks of Services; title: Representation Formats; title: Prepackaged Control Flows; title: Hypermedia Technologies; title: Chapter 10 The Resource-Oriented Architecture Versus Big Web Services; title: What Problems Are Big Web Services Trying to Solve?; title: SOAP; title: WSDL; title: UDDI; title: Security; title: Reliable Messaging; title: Transactions; title: BPEL, ESB, and SOA; title: Conclusion; title: Chapter 11 Ajax Applications as REST Clients; title: From AJAX to Ajax; title: The Ajax Architecture; title: A del.icio.us Example; title: The Advantages of Ajax; title: The Disadvantages of Ajax; title: REST Goes Better; title: Making the Request; title: Handling the Response; title: JSON; title: Don’t Bogart the Benefits of REST; title: Cross-Browser Issues and Ajax Libraries; title: Subverting the Browser Security Model; title: Chapter 12 Frameworks for RESTful Services; title: Ruby on Rails; title: Restlet; title: Django; title: Appendix Some Resources for REST and Some RESTful Resources; title: Standards and Guides; title: Services You Can Use; title: Appendix The HTTP Response Code Top 42; title: Three to Seven Status Codes: The Bare Minimum; title: 1xx: Meta; title: 2xx: Success; title: 3xx: Redirection; title: 4xx: Client-Side Error; title: 5xx: Server-Side Error; title: Appendix The HTTP Header Top Infinity; title: Standard Headers; title: Nonstandard Headers; title: Colophon