注冊(cè) | 登錄讀書好,好讀書,讀好書!
讀書網(wǎng)-DuShu.com
當(dāng)前位置: 首頁出版圖書科學(xué)技術(shù)計(jì)算機(jī)/網(wǎng)絡(luò)軟件與程序設(shè)計(jì)程序設(shè)計(jì)綜合RESTful Web Services(影印版)

RESTful Web Services(影印版)

RESTful Web Services(影印版)

定 價(jià):¥46.00

作 者: (美國)Leonard Richardson、等
出版社: 東南大學(xué)出版社
叢編項(xiàng):
標(biāo) 簽: 工作站

ISBN: 9787564109608 出版時(shí)間: 2007-11-01 包裝: 平裝
開本: 16 頁數(shù): 419 字?jǐn)?shù):  

內(nèi)容簡(jiǎn)介

  你也許曾經(jīng)建立過可供他人使用的網(wǎng)站,但是,你能否創(chuàng)建可供機(jī)器使用的網(wǎng)站?萬維網(wǎng)(World Wide Web)不僅僅只是一個(gè)巨大的分布式應(yīng)用——應(yīng)該把它視為一個(gè)分布式計(jì)算平臺(tái)。Web services、聚合(mashup)和Ajax應(yīng)用都以Web作為平臺(tái)。而今天的Web services技術(shù)早已失去了Web賴以成功的簡(jiǎn)潔性,它們并不像Web那樣工作,并且正日益喪失其原有的優(yōu)勢(shì)。本書讓“Web”回歸Web services。它闡述了如何以你日常所使用的技術(shù)訪問可編程的Web。其關(guān)鍵就在于REST,它是驅(qū)動(dòng)Web的架構(gòu)樣式。本書包括以下內(nèi)容:·強(qiáng)調(diào)Web基礎(chǔ)技術(shù)的力量 —— HTTP應(yīng)用協(xié)議、URI命名標(biāo)準(zhǔn)與XML標(biāo)記語言·介紹面向資源的架構(gòu)(ROA),設(shè)計(jì)RESTful Web Services的常識(shí)規(guī)則集合·揭示RESTful的設(shè)計(jì)如何比遠(yuǎn)程過程調(diào)用(RPC)更為簡(jiǎn)單、具有更多功能以及擴(kuò)展性·包含RESTful Web services的真實(shí)案例,如Amazon的簡(jiǎn)單存儲(chǔ)服務(wù)與Atom發(fā)布協(xié)議等·探討各種流行編程語言的Web services客戶端·展示如何用三種流行框架實(shí)現(xiàn)RESTful services —— Ruby on Rails、Restlet(基于Java)和Django(基于Python)·關(guān)注實(shí)際問題,諸如怎樣設(shè)計(jì)和實(shí)現(xiàn)RESTful Web services與客戶端等《RESTful Web Services》是對(duì)真實(shí)Web services運(yùn)用REST設(shè)計(jì)哲學(xué)的第一本書。它為你的成功設(shè)計(jì)樹立了最佳實(shí)踐典范,也為你提供了將設(shè)計(jì)轉(zhuǎn)化為代碼所需的技術(shù)。你不妨充分利用可編程Web的力量——只要與Web合作,而不是與之抵抗。本書將教會(huì)你一切。注:本書為全英文影印版。

作者簡(jiǎn)介

暫缺《RESTful Web Services(影印版)》作者簡(jiǎn)介

圖書目錄

ForewordPreface1.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 Terminology2.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 WADL3.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 Words4.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 Conclusion6.Designing Read/Write Resource-Oriented Services User Accounts as Resources Custom Places A Look Back at the Map Service7.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 Technologies10.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 Conclusion11.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 Model12.Frameworks for RESTful Services Ruby on Rails Restlet DjangoA.Some Resources for REST and Some RESTful Resources Standards and Guides Services You Can UseB.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 ErrorC.The HTlPHeaderToplnfinity Standard Headers Nonstandard HeadersIndex

本目錄推薦

掃描二維碼
Copyright ? 讀書網(wǎng) hotzeplotz.com 2005-2020, All Rights Reserved.
鄂ICP備15019699號(hào) 鄂公網(wǎng)安備 42010302001612號(hào)