Skip navigation

Category Archives: REST

Notes from a presentation by Virgil Dobjanschi at Google I/O 2010

So what is RESTScreen Shot 2014-11-13 at 10.04.05? REST stands for Representational State Transfer. It is a broadly adopted architecture style. This architecture style is comprised of clients and servers. Clients make request to the server to get or change the state of a particular resource. Servers respond to the client with representations of resources. So what is a resource? A resource is any meaningful concept that can be addressed. For the purpose of this talk I’m going to reference back to the Google Finance API as a simple example of an API. A resource, in the case of the Google Finance API, is a stock portfolio, which is characterised by its name and the currency in which it operates. The representation of a resource is simply a document that fully describes that particular resource. In case of the Google Finance API, this is an XML document which simply describes that particular resource in terms of its name and the currency, and maybe its ID for the purpose of referring to that particular resource later on, when you need to update or delete it.

 

 

 

 

from: http://www.google.com/events/io/2010/sessions/developing-RESTful-android- apps.html