誰能解釋一下 Rest style service的含義?
現在提供服務的種類非常多,關於 Rest style service 也有一些資料:
liferay有提供對外的這種服務嗎,誰能說一下這種型別的服務有什麼優點,實現上有什麼特別的地方?
What is REST? REST is a term coined by Roy Fielding in his Ph.D. dissertation [1] to describe an architecture style of networked systems. REST is an acronym standing for Representational State Transfer. Why is it called Representational State Transfer? The Web is comprised of resources. A resource is any item of interest. For example, the Boeing Aircraft Corp may define a 747 resource. Clients may access that resource with this URL: http://www.boeing.com/aircraft/747 A representation of the resource is returned (e.g., Boeing747.html). The representation places the client application in a state. The result of the client traversing a hyperlink in Boeing747.html is another resource is accessed. The new representation places the client application into yet another state. Thus, the client application changes (transfers) state with each resource representation --> Representational State Transfer! Here is Roy Fielding's explanation of the meaning of Representational State Transfer: "Representational State Transfer is intended to evoke an image of how a well-designed Web application behaves: a network of web pages (a virtual state-machine), where the user progresses through an application by selecting links (state transitions), resulting in the next page (representing the next state of the application) being transferred to the user and rendered for their use." Motivation for REST The motivation for REST was to capture the characteristics of the Web which made the Web successful. Subsequently these characteristics are being used to guide the evolution of the Web. REST - An Architectural Style, Not a Standard REST is not a standard. You will not see the W3C putting out a REST specification. You will not see IBM or Microsoft or Sun selling a REST developer's toolkit. Why? Because REST is just an architectural style. You can't bottle up that style. You can only understand it, and design your Web services in that style. (Analogous to the client-server architectural style. There is no client-server standard.) ............................................ ............................................. <p class="indent"> |
liferay有提供對外的這種服務嗎,誰能說一下這種型別的服務有什麼優點,實現上有什麼特別的地方?
相關文章
- 高手能不能解釋這段話的含義
- 舉例解釋一下explain各欄位的含義AI
- WCF Rest ServiceREST
- 不太明白,高手能不能解釋一下
- tomcat5.0 下使用 struts 為什麼報錯?誰能解決一下Tomcat
- 這個問題誰能解決啊?
- MySQL 5.7中sql_mode的含義解釋MySql
- MongoDB的程式功能解釋MongoDB
- 黑客的含義黑客
- ITL的含義
- Promise的含義Promise
- [STAThread]的含義thread
- restrict session的含義RESTSession
- 閉包的含義
- maven遠端倉庫配置及含義解釋Maven
- 大家好!這個Resin的中文問題誰能解決?
- bootstrap含義boot
- 哪位牛人能解釋一下one-pass sort,multi-pass sort具體的實現方法。
- Web Service實踐之REST vs RPCWebRESTRPC
- 字串格式化format符號含義+轉義字元含義字串格式化ORM符號字元
- 雲端計算的含義
- Java中static的含義Java
- oracle rowid 的含義Oracle
- Explain各列的含義AI
- SMART原則的定義和含義
- WCF、Web API、WCF REST、Web Service之區別WebAPIREST
- CGContext含義GCContext
- C++中&和*的含義C++
- Spring中bean的含義SpringBean
- mysql 下的提示和含義MySql
- oracle中斜槓(/)的含義Oracle
- v$session command 的含義Session
- DISPLAY變數的含義 zt變數
- samtools各種flag的含義
- SVN中clean up的含義
- 誰建立誰銷燬,誰分配誰釋放——JNI呼叫時的記憶體管理記憶體
- [高頻面試]解釋執行緒池的各個引數含義面試執行緒
- CloudFoundry增加自定義serviceCloud