RESTful Rabbits

3,409 views
3,281 views

Published on

A BarCamp Brighton presentation by Gareth Rushgrove on RESTful architectures and the Nabaztag

Published in: Technology, Design
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
3,409
On SlideShare
0
From Embeds
0
Number of Embeds
36
Actions
Shares
0
Downloads
128
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

RESTful Rabbits

  1. RESTful Rabbits
  2. The North tm
  3. Representational State Transfer (REST) is a style of software architecture for distributed hypermedia systems such as the World Wide Web http://roy.gbiv.com/pubs/dissertation/top.htm REST
  4. GET, POST, PUT, DELETE, TRACE, OPTIONS, CONNECT, HEAD http://tools.ietf.org/html/rfc2616 HTTP Verbs
  5. Resource Orientated Design
  6. Nouns are resources you act upon Verbs are what you do to those resources Generally this means GET, POST, PUT and DELETE Nouns and Verbs
  7. No matter what web server you have, and no matter what web client I have, I know if I see a URL of your, that I can retrieve the associated document using HTTP GET, with no advance co-ordination needed other than agreement on the relevant specs http://rest.blueoxen.net/cgi-bin/wiki.pl?AnotherRestDescription Cool Stuff
  8. Flickr Bashing
  9. Flickr API
  10. GET /photos/garethr GET /people/garethr/contacts PUT /photos/garethr PUT /people/garethr/contacts/ PUT /people GET /photos/garethr/tags Flickr RESTful API?
  11. 201 Created

×