第一图书网

RESTful Web Services(影印版)

Leonard Richardson,Sam Ruby 东南大学出版社
出版时间:

2007  

出版社:

东南大学出版社  

作者:

Leonard Richardson,Sam Ruby  

页数:

419  

Tag标签:

无  

内容概要

  你也许曾经建立过可供他人使用的网站,但是,你能否创建可供机器使用的网站?万维网(World Wide Web)不仅仅只是一个巨大的分布式应用——应该把它视为一个分布式计算平台。Web services、聚合(mashup)和Ajax应用都以Web作为平台。而今天的Web services技术早已失去了Web赖以成功的简洁性,它们并不像Web那样工作,并且正日益丧失其原有的优势。  本书让“Web”回归Web services。它阐述了如何以你日常所使用的技术访问可编程的Web。其关键就在于REST,它是驱动Web的架构样式。本书包括以下内容:  ·强调Web基础技术的力量 —— HTTP应用协议、URI命名标准与XML标记语言  ·介绍面向资源的架构(ROA),设计RESTful Web Services的常识规则集合  ·揭示RESTful的设计如何比远程过程调用(RPC)更为简单、具有更多功能以及扩展性  ·包含RESTful Web services的真实案例,如Amazon的简单存储服务与Atom发布协议等  ·探讨各种流行编程语言的Web services客户端  ·展示如何用三种流行框架实现RESTful services —— Ruby on Rails、Restlet(基于Java)和Django(基于Python)  ·关注实际问题,诸如怎样设计和实现RESTful Web services与客户端等  《RESTful Web Services》是对真实Web services运用REST设计哲学的第一本书。它为你的成功设计树立了最佳实践典范,也为你提供了将设计转化为代码所需的技术。你不妨充分利用可编程Web的力量——只要与Web合作,而不是与之抵抗。本书将教会你一切。    注:本书为全英文影印版。

书籍目录

ForewordPreface1. The Programmable Web and Its InhabitantsKinds of Things on the Programmable WebHTTP: Documents in EnvelopesMethod InformationScoping InformationThe Competing ArchitecturesTechnologies on the Programmable WebLeftover Terminology2. Writing Web Service ClientsWeb Services Are Web Sitesdel.icio.us: The Sample ApplicationMaking the Request: HTTP LibrariesProcessing the Response: XML ParsersJSON Parsers: Handling Serialized DataClients Made Easy with WADL3. What Makes RESTful Services Different?Introducing the Simple Storage ServiceObject-Oriented Design of S3ResourcesHTTP Response CodesAn S3 ClientRequest Signing and Access ControlUsing the S3 Client LibraryClients Made Transparent with ActiveResourceParting Words4. The Resource-Oriented ArchitectureResource-Oriented What Now?Whats a Resource?URIsAddressabilityStatelessnessRepresentationsLinks and ConnectednessThe Uniform InterfaceThats It!5. Designing Read-Only Resource-Oriented ServicesResource DesignTurning Requirements Into Read-Only ResourcesFigure Out the Data SetSplit the Data Set into ResourcesName the ResourcesDesign Your RepresentationsLink the Resources to Each OtherThe HTTP ResponseConclusion6. Designing Read/Write Resource-Oriented ServicesUser Accounts as ResourcesCustom PlacesA Look Back at the Map Service7. AServicelmplementati0nA Social Bookmarking Web ServiceFiguring Out the Data SetResource DesignDesign the Representation(s) Accepted from the ClientDesign the Representation(s) Served to the ClientConnect Resources to Each OtherWhats Supposed to Happen?What Might Go Wrong?Controller CodeModel CodeWhat Does the Client Need to Know?8. REST and ROA Best PracticesResource-Oriented Basics……9. The Building Blocks of Services10. The Resource-Oriented Architecture Versus Big Web Services11. Ajax Applications as REST Clients12. Frameworks for RESTful ServicesA. Some Resources for REST and Some RESTful ResourcesB. The HTTP Response Code Top 42C. The HTTP Header Top InfinityIndex


图书封面

图书标签Tags

广告

下载页面


RESTful Web Services(影印版) PDF格式下载



相关图书