网站首页  软件下载  游戏下载  翻译软件  电子书下载  电影下载  电视剧下载  教程攻略

请输入您要查询的图书:

 

书名 REST架构的网络服务(影印版)(英文版)
分类
作者 (美)理查森//鲁比
出版社 东南大学出版社
下载
简介
编辑推荐

《RESTful Web Services》是对真实Web Service运用REST设计哲学的第一本书。它为你的成功设计树立了最佳实践典范,也为你提供了将设计转化为代码所需的技术。你不妨充分利用可编程Web的力量——只要与Web合作而不是与之抵抗。本书将教会你一切。

内容推荐

你也许曾经建立过可供他人使用的网站,但是,你能否创建可供机器使用的网站?万维网(World wide Web)不仅仅只是一个巨大的分布式应用——应该把它视为一个分布式计算平台。Web Service、聚合(mashup)和Ajax应用都以Web作为平台。而今天的Web Service技术早已失去了Web赖以成功的简洁性,它们并不像Web那样工作,并且正日益丧失其原有的优势。本书让“Web”回归Web Service。它阐述了如何以你日常所使用的技术访问可编程的Web。其关键就在于REST,它是驱动Web的架构样式。

目录

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 $3 Client

 Request Signing and Access Control

 Using the $3 Client Library

 Clients Made Transparent with ActiveResource

 Parting Words

4.The Resource-Oriented Architecture

 Resource-Oriented What Now?

 What's a Resource?

 URIs

 Addressability

 Statelessness

 Representations

 Links and Connectedness

 The Uniform Interface

 That's It!

5.Designing Read-OnlyResource-OrientedServices

 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.AServicelmplementation

 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

 What's 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

 The Generic ROA Procedure

 Addressability

 State and Statelessness

 Connectedness

 The Uniform Interface

 This Stuff Matters

 Resource Design

 URI Design

 Outgoing Representations

 Incoming Representations

 Service Versioning

 Permanent URIs Versus Readable URIs

 Standard Features of HTTP

 Faking PUT and DELETE

 The Trouble with Cookies

 Why Should a User Trust the HTTP Client?

9.The Building Blocks of Services

 Representation Formats

 Prepackaged Control Flows

 Hypermedia Technologies

10.The Resource-Oriented Architecture Versus Big Web Services

 What Problems Are Big Web Services Trying to Solve?

 SOAP

 WSDL

 UDDI

 Security

 Reliable Messaging

 Transactions

 BPEL, ESB, and SOA

 Conclusion

11.Ajax Applications as REST Clients

 From AJAX to Ajax

 The Ajax Architecture

 A del.icio.us Example

 The Advantages of Ajax

 The Disadvantages of Ajax

 REST Goes Better

 Making the Request

 Handling the Response

 JSON

 Don't Bogart the Benefits of REST

 Cross-Browser Issues and Ajax Libraries

 Subverting the Browser Security Model

12.Frameworks for RESTful Services

 Ruby on Rails

 Restlet

 Django

A.Some Resources for REST and Some RESTful Resources

 Standards and Guides

 Services You Can Use

B.The HTTP Response CodeTop 42

 Three to Seven Status Codes: The Bare Minimum

 1xx: Meta

 2xx: Success

 3xx: Redirection

 4xx: Client-Side Error

 5xx: Server-Side Error

C.The HTlPHeaderToplnfinity

 Standard Headers

 Nonstandard Headers

Index

随便看

 

霍普软件下载网电子书栏目提供海量电子书在线免费阅读及下载。

 

Copyright © 2002-2024 101bt.net All Rights Reserved
更新时间:2025/3/29 18:53:06