Tài liệu RESTful Web Services Cookbook ppt

314 981 2
Tài liệu RESTful Web Services Cookbook ppt

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... conversations about the merits and demerits of REST, commonly encountered problems, and usage of HTTP for RESTful web services Leonard Richardson and Sam Ruby’s RESTful Web Services (O’Reilly) See this book to learn more about REST and how to use the Web as a platform for building RESTful web services RESTwiki (http://rest.blueoxen.net/cgi-bin/wiki.pl) This wiki contains a collection of articles written... Deploying web services on this infrastructure lets you take advantage of a wide range of existing infrastructure that includes web servers, client libraries, proxy servers, caches, firewalls, and so on Although, in theory, it is possible to build RESTful applications without relying on HTTP, attempting to do so can be an expensive proposition In this book, RESTful web services means web services built... not also deal with installing, administering, or securing web servers, caches, and proxies See books such as Apache Cookbook by Ken Coar and Rich Bowen, Apache Security by Ivan Ristic, and Squid: The Definitive Guide by Duane Wessels (all from O’Reilly), or product manuals to learn such topics Companion Material See http://www .restful- webservices -cookbook. org for additional material, errata, comments,... advantage of the web infrastructure and REST without having to ponder whether your web service is RESTful Each recipe includes one or more problem statements and a solution, followed by a detailed discussion with examples, commentary on implementation, and any tradeoffs involved Much of the material for the recipes is based on common design problems found while developing RESTful web services The problems... applications Leonard Richardson and Sam Ruby’s RESTful Web Services (O’Reilly) provides a more in-depth coverage on the basics of this topic detailing how to use resources as the core building blocks But how do you find help with day-to-day design and implementation questions? This is the book to fill that gap ix This book consists of recipes to help design and implement RESTful client/server applications It... means web services built using HTTP, URIs, XML, JSON, Atom, etc Scope of the Book This book is not a discourse on REST or its merits over other styles of architecture This is a cookbook for designers and developers of RESTful web services Plenty of material exists that describes the REST architectural style Wikipedia’s entry on Representational State Transfer (http://en.wikipedia.org/wiki/Representational_State... server applications x | Preface Undoubtedly, there will be additional design and implementation problems that are not addressed by this book or the previously discussed resources Visit http://www restful- webservices -cookbook. org to post your questions, suggestions, or alternative solutions you have had success with in your experience In due course, this site will include additional recipes, and they will... variables, statements, and keywords xii | Preface Constant width starting with "#" Used for comments in HTTP requests and response messages For instance: # This is a request GET /toc Host: www .restful- webservices -cookbook. org # This is a response HTTP/1.1 200 OK Date: Sat, 07 Nov 2009 03:14:05 GMT Last-Modified: Sat, 07 Nov 2009 03:14:05 GMT Content-Type: text/html; charset=UTF-8 This icon... into your product’s documentation does require permission We appreciate, but do not require, attribution An attribution usually includes the title, author, publisher, and ISBN For example: RESTful Web Services Cookbook by Subbu Allamaraju Copyright 2010 Yahoo!, Inc., 978-0-596-80168-7.” If you feel your use of code examples falls outside fair use or the permission given here, feel free to contact... This chapter shows how to write extensible servers, how to keep clients resilient to change, and how to implement versioning Chapter 14, Enabling Discovery This chapter describes how to document RESTful web services Appendix A, Additional Reading This appendix lists places where you can find more information about REST and the underlying technologies Appendix B, Overview of REST This appendix provides . alt="" RESTful Web Services Cookbook RESTful Web Services Cookbook Subbu Allamaraju Beijing • Cambridge • Farnham • Köln • Sebastopol • Taipei • Tokyo RESTful. for RESTful web services. Leonard Richardson and Sam Ruby’s RESTful Web Services (O’Reilly) See this book to learn more about REST and how to use the Web

Ngày đăng: 16/02/2014, 13:20

Từ khóa liên quan

Mục lục

  • Table of Contents

  • Preface

    • Scope of the Book

    • Companion Material

    • How This Book Is Organized

    • Conventions Used in This Book

    • Using Code Examples

    • Safari® Books Online

    • How to Contact Us

    • Acknowledgments

    • Mike Amundsen’s Contribution

    • Chapter 1. Using the Uniform Interface

      • 1.1  How to Keep Interactions Visible

        • Problem

        • Solution

        • Discussion

        • 1.2  When to Trade Visibility

          • Problem

          • Solution

          • Discussion

          • 1.3  How to Maintain Application State

            • Problem

            • Solution

            • Discussion

            • 1.4  How to Implement Safe and Idempotent Methods on the Server

              • Problem

Tài liệu cùng người dùng

Tài liệu liên quan