Resources, For Real This Time (with Webmachine)

A session at RubyConf 2011

Friday 30th September, 2011

5:15pm to 6:00pm (CST)

Over the past 5-6 years we have seen a lot of changes in the way that Ruby apps speak HTTP -- from Rails' "REST" conventions, to the brilliantly simple Sinatra, to the modular Rack abstraction -- but we haven't yet unlocked the entire subtle power of HTTP. We know HTTP is so much more than verbs and URLs that correspond to CRUD, and yet it's still too hard to do conditional requests, content negotiation, and then return the right type of response.

What if, instead of forcing HTTP into our MVC-shaped applications, we shaped our applications like HTTP? Instead of forcing a resource into seven controller actions or verb/URL-specific methods, what if the resource itself was the abstraction? A whole world of subtle and powerful programming patterns emerge.

This is the world of Webmachine, a toolkit for building HTTP applications and a port of the Erlang toolkit of the same name. I will introduce Webmachine's unique programming model and demonstrate how to easily expose rich HTTP behavior in a few short lines of Ruby code.

About the speaker

This person is speaking at this event.
Sean Cribbs

Software Engineer at Basho Technologies

Coverage of this session

Sign in to add slides, notes or videos to this session

RubyConf 2011

United States United States, New Orleans

29th September to 1st October 2011

Tell your friends!

When

Time 5:15pm6:00pm CST

Date Fri 30th September 2011

Short URL

lanyrd.com/shzrx

Official session page

rubyconf.org/…s/53

View the schedule

Share

Topics

See something wrong?

Report an issue with this session