REST and the Hypermedia Constraint: A Case Study

Ben Longden (08.Oct.2011 at 10:45)
Talk at PHP North West 2011 (English - UK)

Rating: 4 of 5

A RESTful API is only truly RESTful if it uses hypermedia to tell us about all the actions that can be performed on the curent resource, allowing us to traverse the API from a single entry point. This session looks at REST and HATEOAS (Hypermedia As The Engine Of Application State) to illustrate good service structure.We'll use the RESTful file sharing service fdrop.it to illustrate the various examples of how this can be used. This session is recommended for architects and senior developers alike and will give a good grounding in writing excellent, self-explanatory RESTful services.

Who are you?

Claim talk

By clicking this button you are declaring that you are the speaker responsible for it and a claim request will be sent to the administrator of the event.

If the claim is approved you will be able to edit the information for this talk.

Are you sure?

 
Comments closed.

Comments

Rating: 3 of 5

08.Oct.2011 at 12:12 by Ben Selby via api

Good overview of REST. Would have been good to see more worked php examples and how different clients talked to the server and the data being returned.

Very brave to do a live demo and loved the shout out for the chrome extension being used - looked very useful.

Rating: 3 of 5

08.Oct.2011 at 17:40 by Petr Rybak

Same comment as Ben. It was a nice practical example of using REST for a specific need but especially because of that it would have been great to dig a bit deeper to the actual code and how it was accomplished. But I understand that it's hard to do in such limited time.

Speaker comment:

08.Oct.2011 at 19:06 by Ben Longden

Interesting that the feedback is to have PHP examples in the code - I actually did at one point and then removed it as I couldn't get through everything in time - BUT! Here's a gist containing the code that you need to allow the ContextSwitch in Zend Framework to use the Accept header: https://gist.github.com/gists/1272322

And if you want an example of some client side code (note that this does not honour the caching - watch it in github though and I will add some code in to do that) - here's a little command line app that allows you to share files: https://github.com/blongden/fdrop-php

Rating: 4 of 5

09.Oct.2011 at 01:04 by Mike Smith

This was an interesting talk and the speaker was very confident and clear in his delivery. However sat at the back the slides were very difficult to see as the room was very narrow and very long so I will need to run through them a few more times to pick up on everything that was mentioned. Overall worth the watch though and thanks!

Rating: 3 of 5

09.Oct.2011 at 11:26 by James Littlejohn

Good introduction

Rating: 4 of 5

09.Oct.2011 at 14:33 by Anonymous

Good overview of REST Architecture and constraints. Might have been useful to show examples through publicly available APIs such as Zendesk etc.

Rating: 5 of 5

09.Oct.2011 at 15:05 by Wes Thompson

Great talk Ben really interesting to see some grass roots, much overlooked tech behind the web and http. I'll be bending your ear later on!

Rating: 4 of 5

09.Oct.2011 at 19:32 by Rowan Merewood

(disclaimer - guy's my colleague)

I always enjoy talks that have a personal touch and a story, something you can't get from just reading a blog post for example. So, being able to see Ben explain the reasoning he had gone through for his false starts really helped my understanding. Interestingly, I think the live demo was the best part - actually seemed far more comfortable talking through those bits than on the slides.

Rating: 4 of 5

10.Oct.2011 at 07:54 by Anonymous

REST is one of those things people take for granted a bit - just plug this in here, and that there will give you a meaningful result. It's great to get a decent overview of a great deal of it's inner workings and capabilities.

Could have perhaps used some more cursory request / response slides to see his points in situ. Having said that though, the timescale was fairly unforgiving for such a wide ranging subject.

Rating: 4 of 5

10.Oct.2011 at 08:50 by David Roff

Was a good introduction talk on REST, liked how it was personal to Ben's experiences in writing fdrop.it and problems he had overcome, i thought the live demo was the highlight (albeit brave considering the wifi).

Rating: 5 of 5

10.Oct.2011 at 18:43 by William Booth

Good introduction to rest, built on some of the things I already knew about REST with some new techniques and some neat tricks.

Presentation was well delivered too.

Rating: 4 of 5

10.Oct.2011 at 20:21 by Martin Downton

An interesting topic, well delivered and nice to have a practical example/case study.

Rating: 5 of 5

11.Oct.2011 at 08:58 by Ben Waine

Re PHP Examples:

I think you were right to leave them out. I liked the focus was on REST, the principles could have been applied in any language.

I enjoyed the discussion of your previous attempts to implement your service. They provide some good insights into what works and what doesn't.

Also - looking into JSONHal as a result of seeing the talk.

Rating: 5 of 5

11.Oct.2011 at 22:27 by Marco De Bortoli

I really like the talk, I used and I still use to work with RESTful and/or RESTlike interfaces but mostly indeed in the traditional and wrong way of using out-of-band information, documentation and IDL to describe them typical of SOA systems. The concept of Hypermedia extends forward the concept of RESTful and takes it to its real nature. Hypermedia as constraint to facilitate decoupling between client and server that's what resume in few words a very interesting and well delivered talk.

Rating: 5 of 5

19.Oct.2011 at 21:37 by Gavin Taylor

well presented and a good overview of how to get started with REST
really enjoyed the talk

Cloud server hosting by Combell Combell      © Joind.in 2012