Resource-oriented architecture
In
REST, or Representational State Transfer, describes a series of architectural constraints that exemplify how the web's design emerged.[1] Various concrete implementations of these ideas have been created throughout time, but it has been difficult to discuss the REST architectural style without blurring the lines between actual software and the architectural principles behind it.
In Chapter 5 of his thesis, Roy Fielding documents how the World Wide Web is designed to be constrained by the REST series of limitations. These are still fairly abstract and have been interpreted in various ways in designing new frameworks, systems, and websites. In the past, heated exchanges have been made about whether RPC-style REST architectures are RESTful.[1][2]
Guidelines for clarification
The Resource Oriented Architecture, as documented by Leonard Richardson and Sam Ruby in their 2007 book RESTful Web Services,[3] gives concrete advice on specific technical details. Naming these collections of guidelines "Resource Oriented Architecture" may allow developers to discuss the benefits of an architecture in the context of ROA.
Some guidelines are already common within the larger REST communities such as: that an application should expose many URIs, one for each resource; and that processing cookies representing IDs in a server-side session is not RESTful.
Existing frameworks
Richardson and Ruby also discuss many software frameworks that provide some or many features of the ROA. These include /db,[4] Django, TurboGears, Flask, EverRest,[5] JBoss RESTEasy,[6] JBoss Seam, Spring,[7] Apache Wink,[8]
Web infrastructure
While REST is a set of architectural guidelines applicable to various types of computing infrastructures, Resource Oriented Architecture (ROA) is only coupled with the web. This architecture is therefore useful mostly to businesses that consider the web as the computing/publishing platform of choice.
The power of the web seems to mostly reside in its ability to lower the barriers to entry for human users who may not be highly trained in using computing machinery.[dubious – discuss] As such, the web widens the market reach for any business that decides to publish some of its content in electronic format. On the web, such published content is regarded as a web resource.
References
- ^ a b Chapter 5 of Fielding's dissertation is "Representational State Transfer (REST)".
- ISSN 1533-5399
- ^ Richardson and Ruby 2007.
- ^ "API on the Fly™ - Automatically add REST API to Your Databases". SlashDB.
- ^ "Google Code Archive - Long-term storage for Google Code Project Hosting". code.google.com.
- ^ "RESTEasy - JBoss Community". resteasy.github.io.
- ^ "Spring REST Tutorial".
- ^ "Index". wink.apache.org.
- ^ "recessframework.org". ww12.recessframework.org.
- ^ "Yii Framework". Yii Framework.
- ^ "Play Framework - Build Modern & Scalable Web Apps with Java and Scala". www.playframework.com.
- ^ "API Platform - REST and GraphQL framework to build modern API-driven projects in PHP". api-platform.com.
Bibliography
- Richardson, Leonard; ISBN 978-0-596-52926-0.
- Lucchi, R.; Millot, M.; Elfers, C. (2008). Resource Oriented Architecture and REST (PDF). Scientific and Technical Research. Luxembourg: ISSN 1018-5593.