
| Foreword Preface 1. The Programmable Web and Its Inhabitants Kinds of Things on the Programmable Web HTTP: Documents in Envelopes Method Information Scoping Information The Competing Architectures Technologies on the Programmable Web Leftover Terminology 2. Writing Web Service Clients Web Services Are Web Sites del.icio.us: The Sample Application Making the Request: HTTP Libraries Processing the Response: XML Parsers JSON Parsers: Handling Serialized Data Clients Made Easy with WADL 3. What Makes RESTful Services Different? Introducing the Simple Storage Service Object-Oriented Design of S3 Resources HTTP Response Codes An S3 Client Request Signing and Access Control Using the S3 Client Library Clients Made Transparent with ActiveResource Parting Words 4. The Resource-Oriented Architecture Resource-Oriented What Now? Whats a Resource? URIs Addressability Statelessness Representations Links and Connectedness The Uniform Interface Thats It! 5. Designing Read-Only Resource-Oriented Services Resource Design Turning Requirements Into Read-Only Resources Figure Out the Data Set Split the Data Set into Resources Name the Resources Design Your Representations Link the Resources to Each Other The HTTP Response Conclusion 6. Designing Read/Write Resource-Oriented Services User Accounts as Resources Custom Places A Look Back at the Map Service 7. AServicelmplementati0n A Social Bookmarking Web Service Figuring Out the Data Set Resource Design Design the Representation(s) Accepted from the Client Design the Representation(s) Served to the Client Connect Resources to Each Other Whats Supposed to Happen? What Might Go Wrong? Controller Code Model Code What Does the Client Need to Know? 8. REST and ROA Best Practices Resource-Oriented Basics …… 9. The Building Blocks of Services 10. The Resource-Oriented Architecture Versus Big Web Services 11. Ajax Applications as REST Clients 12. Frameworks for RESTful Services A. Some Resources for REST and Some RESTful Resources B. The HTTP Response Code Top 42 C. The HTTP Header Top Infinity Index |
商品评论(0条)