RESTful Web Services Cookbook

Solutions for Importing Scalability and Simplicity

Paperback Engels 2010 1e druk 9780596801687
€ 46,49
Levertijd ± 16 werkdagen
Gratis verzonden

Samenvatting

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

Specificaties

ISBN13:9780596801687
Taal:Engels
Bindwijze:paperback
Aantal pagina's:293
Uitgever:O'Reilly
Druk:1
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Over Subbu Allamaraju

Subbu Allamaraju, an architect at Yahoo!, has designed standards and practices for RESTful Web Services. He now oversees the architecture of certain developer facing platforms. Subbu previously worked at BEA Systems Inc., where he developed web services and Java-based software. He's contributed to four books on JEE, all published by Wrox.

Andere boeken door Subbu Allamaraju

Inhoudsopgave

Preface

1. Using the Uniform Interface
-How to Keep Interactions Visible
-When to Trade Visibility
-How to Maintain Application State
-How to Implement Safe and Idempotent Methods on the Server
-How to Treat Safe and Idempotent Methods in Clients
-When to Use GET
-When to Use POST
-How to Create Resources Using POST
-When to Use PUT to Create New Resources
-How to Use POST for Asynchronous Tasks
-How to Use DELETE for Asynchronous Deletion
-When to Use Custom HTTP Methods
-When and How to Use Custom HTTP Headers

2. Identifying Resources
-How to Identify Resources from Domain Nouns
-How to Choose Resource Granularity
-How to Organize Resources into Collections
-When to Combine Resources into Composites
-How to Support Computing/Processing Functions
-When and How to Use Controllers to Operate on Resources

3. Designing Representations
-How to Use Entity Headers to Annotate Representations
-How to Interpret Entity Headers
-How to Avoid Character Encoding Mismatch
-How to Choose a Representation Format and a Media Type
-How to Design XML Representations
-How to Design JSON Representations
-How to Design Representations of Collections
-How to Keep Collections Homogeneous
-How to Use Portable Data Formats in Representations
-When to Use Entity Identifiers
-How to Encode Binary Data in Representations
-When and How to Serve HTML Representations
-How to Return Errors
-How to Treat Errors in Clients

4. Designing URIs
-How to Design URIs
-How to Use URIs As Opaque Identifiers
-How to Let Clients Treat URIs As Opaque Identifiers
-How to Keep URIs Cool

5. Web Linking
-How to Use Links in XML Representations
-How to Use Links in JSON Representations
-When and How to Use Link Headers
-How to Assign Link Relation Types
-How to Use Links to Manage Application Flow
-How to Deal with Ephemeral URIs
-When and How to Use URI Templates
-How to Use Links in Clients

6. Atom and AtomPub
-How to Model Resources Using Atom
-When to Use Atom
-How to Use AtomPub Service and Category Documents
-How to Use AtomPub for Feed and Entry Resources
-How to Use Media Resources
Afgekapt op 63 regels

Managementboek Top 100

€ 46,49
Levertijd ongeveer 16 werkdagen
Gratis verzonden

Rubrieken

Producten

    Auteurs

      Trefwoorden

        Artikelen

          RESTful Web Services Cookbook