Monday, May 23, 2011

Rails on HBase

Last Thursday at RailsConf, the irrepressible Zachary Pinter and I were privileged to talk about Rails and HBase. We hope (and fear) to have a video of the talk soon, but here are the slides.

The TL;DR:

HBase is a great option for when you need to store and quickly access lots and lots of data. As long as you build your schema to fit web request access patterns, Rails can easily pull data from HBase. We liked Massive Record the most. It's likely, though, that you will not be building a web application solely on HBase, so consider what you really when trying to pair Rails and HBase.

Posted via email from Tony Hillerson's Posterous

RailsConf 2011 Recap

I spent last week at RailsConf, my favorite conference.

The unofficial theme this year was definitely Javascript. Some great changes coming to Rails 3.1 (c.f. DHH's keynote) show that Javascript and CSS are becoming first class citizens, but there was also plenty of sessions dealing with Javascript as well. SproutCore, Backbone, Sprockets, and CoffeeScript were big, but there were at least a few sessions on testing Javascript too.

There are two directions that web applications with Javascript and Rails can go: The MVC model and the Rich Client model. DHH seems to be behind the MVC model, which is why Rails has supported it from the start. The Rich Client model where one or more clients of any type consume data from a Rails-built API is becoming more common with the advent of Javascript frameworks like SpoutCore and Backbone.js, not to mention the many mobile applications out there.

When Rails supported REST, that was a huge step to supporting great, flexible APIs, but it didn't bring a lot of its signature convention to how to deal with Rails APIs. That was a subject of Yehuda Katz's talk; how can the Rails community center around the correct conventions for APIs so Rails can start to support them. That talk and one about FlexibleAPI have me thinking that this type of thing will be a major theme for Rails to come.

Also, as always, RailsConf did a worked to feed back the history of programming into the community. It came in the form of a crazy performance art Keynote by Guy Steele and Richard Gabriel

Posted via email from Tony Hillerson's Posterous

Tuesday, May 17, 2011