what the fuck is REST
来源:互联网 发布:vb.net 字符转数值 编辑:程序博客网 时间:2024/05/21 17:37
概念介绍的太艰涩了,在知乎看到一篇介绍比较通俗易懂的,如下:
REST是设计风格而不是标准。REST通常基于使用HTTP,URI,和XML以及HTML这些现有的广泛流行的协议和标准。
- 资源是由URI来指定。
- 对资源的操作包括获取、创建、修改和删除资源,这些操作正好对应HTTP协议提供的GET、POST、PUT和DELETE方法。
- 通过操作资源的表现形式来操作资源。
- 资源的表现形式则是XML或者HTML,取决于读者是机器还是人,是消费web服务的客户软件还是web浏览器。当然也可以是任何其他的格式。
一般符合restful开发的要求:
- 客户端和服务器结构
- 连接协议具有无状态性
- 能够利用Cache机制增进性能
- 层次化的系统
http://www.infoq.com/cn/articles/rest-introduction
0 0
- what the fuck is REST
- what fuck it is
- iOS What The Fuck UITableView
- REST是什么 What is REST
- what is REST
- What is REST
- What is REST
- What the fuck life I'm going
- Flask-wtf,wtforms,What The Fuck!!!
- what fuck
- What is the AQ?
- What is the Android
- What is the program?
- What is the NDK?
- What the $%@! is SPDY
- what is the day
- What is the study?
- What Is The Shell
- serialVersionUID的作用
- Android平台中应该如何获取音乐文件的信息
- java继承内部类
- DES加密
- <Python>字典,可爱的字典
- what the fuck is REST
- Aizu 2325 Mysterious Maze
- 有诚意的个人onTouchEvent事件传递机制总结(多图!) ...
- Word2010中单独设置某页为横向方法
- The Struts dispatcher cannot be found. This is usually caused by using Struts tags without the asso
- flex获取对象类型 并通过类名实例化对象
- KMP算法next数组的理解
- /dev/shm的应用
- 统计难题