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.
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.
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.
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.
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
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!
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.
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.
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).
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.
Know of an event happening? Let us know! We love to get the word out about events the community would be interested in and you can help us spread the word!
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.