`

RESTful Web Services理论简介

 
阅读更多

Representational State Transfer(REST) 既不是技术也不是标准,而是一种软件架构风格,是基于Web暴露

资源的一系列指南。基于HTTP进行传输数据,使用基本的HTTP verbs.

 

1. 基本的REST Principles

  •      Application state and functionality are divided into resources;
  •      Resources are addressable using standard URIs that can be used as hypermedia links;
  •      All resources use only the four HTTP verbs:DELETE,GET,POST,PUT;
  •      All resources provide information using the MIME types supported by HTTP;
  •      The protocol is stateless;
  •      Responses are cacheable;
  •      The protocol is layered.

2.  REST Best Practices

  •       提供一个唯一的URI 给Expose的 Resource;
  •       URI中精良使用名词;
  •       GET verb不会改变任何数据;
  •       响应中使用Links;
  •       服务无状态;

3.  HTTP Verbs

  •      GET: 查找
  •      PUT: 更新(如果需要更新的资源不存在将进行插入操作)
  •      POST: 插入
  •      DELETE: 删除

4.  JAX-RS

      创建REST架构风格的WebService的规范。

分享到:
评论

相关推荐

    RESTful Web Services 中文版 高清 PDF 电子书

    RESTful Web Services 中文版 高清 PDF 电子书

    RESTful WebServices中文版 完整清晰版

    ·包含RESTful Web services的真实案例,如Amazon的简单存储服务与Atom发布协议等 ·探讨各种流行编程语言的Web services客户端 ·展示如何用三种流行框架实现RESTful services —— Ruby on Rails、Restlet(基于...

    RESTful Web Services 中文版

    RESTful Web Services 中文版,详细教程

    RESTful Web Services Cookbook 中文版

    RESTful Web Services Cookbook 中文版,Web开发人员必备良药

    building restful web services with spring 5 2e

    Building RESTful Web Services with Spring 5 – Second Edition: Leverage the power of Spring 5.0, Java SE 9, and Spring Boot 2.0 Find out how to implement the REST architecture to build resilient ...

    RESTful Java Web Services

    RESTful Java Web Services, Master core REST concepts and create RESTful web services in Java, Jose Sandoval, Copyright 2009 Packt Publishing

    Django RESTful Web Services epub

    Django RESTful Web Services 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Building RESTful Web Services with Go

    Building RESTful Web Services with Go:Initially, SOAP-based web services became more popular with XML. Then, since 2012,REST picked up the pace and gulped SOAP in whole. The rise of a new generation ...

    RESTful Web Services中文高清版.pdf.zip

    讲解REST与面向资源的架构(ROA)的概念与原理,如何编写符合REST风格的Web 2.0应用。仅用学习使用,不可用于商业用途,如有版权问题,请联系删除!

    RESTful WebServices中文版.pdf 47M

    RESTful WebServices中文版.pdf 总共47M,我最多一次只能上传30M,不得不吧他压缩成两部分,这个是第一部分,第二部分下载地址:...下载完成后把文件名改成:RESTful WebServices中文版.part1.rar

    RESTful Web Services

    RESTful Web Services 英文版 RESTful Web Services渐渐开始流行,大量用于解决异构系统间的通信问题。很多网站和应用提供的API,都是基于RESTful风格的Web Services,比较著名的包括Twitter、Google以及项目管理...

    Building RESTful Web services with Go mobi

    Building RESTful Web services with Go 英文mobi 本资源转载自网络,如有侵权,请联系上传者或csdn删除 查看此书详细信息请在美国亚马逊官网搜索此书

    Building RESTful Web Services with .NET Core [PDF]

    Table of Contents ...Chapter 9 Scaling RESTful Services (Performance of Web Services) Chapter 10 Building a Web Client (Consuming Web Services) Chapter 11 Introduction to microservices

    RESTful Java Web Services (2009).pdf

    RESTful Java Web Services (2009).pdf This book is for developers who want to code RESTful web services using the Java technology stack together with any of the frameworks Jersey's JAX-RS, Restlet's ...

    Building RESTful Web Services with PHP 7 epub

    Building RESTful Web Services with PHP 7 英文epub 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    Building RESTful Web Services with PHP 7_Code 源码

    Building RESTful Web Services with PHP 7_Code 源码 本资源转载自网络,如有侵权,请联系上传者或csdn删除 本资源转载自网络,如有侵权,请联系上传者或csdn删除

    RESTful Web Services Cookbook

    RESTful Web Services Cookbook RESTful Web Services Cookbook RESTful Web Services Cookbook

    Building RESTful Web services with Go

    Building RESTful Web services with Go pdf Book Description REST is an architectural style that tackles the challenges of building scalable web services and in today's connected world, APIs have taken ...

    RESTful Web Services with Dropwizard

    Dropwizard is a Java development framework for RESTful Web Services. It was initially built by Yammer to be used as the base of their backend systems. Dropwizard is production-ready; it encapsulates ...

Global site tag (gtag.js) - Google Analytics