原来常常据说restful方式,可是本身一直没有搞懂什么是restful,虽然平时也在使用。restful
个人理解大概是:rest是一种规范。即参数经过封装后进行传递,响应也是返回的一个封装对象。ide
restful 是一种接口API的实现形式。咱们经常定义的spingMvc的接口通常都是restful的实现形式。spa
http://blog.csdn.net/chenxiaochan/article/details/73716617 .net
http://blog.csdn.net/chenxiaochan/article/details/52988323 设计
http://blog.csdn.net/mawming/article/details/52381740rest