Main Content

From Rails to Rack: Making Rails 3 a Better Ruby Citizen

About the Talk

June 13, 2009 9:30 AM

Reston, VA

Reston, VA

Rails 3 is on its way, and Yehuda Katz is giving RubyNation a sneak peek! With the advent of the Rack spec and library, Ruby web frameworks can interact in unprecedented ways. Imagine a Rails application routing to a Sinatra application, or Merb-style exception pages that catch exceptions from Rails or Cloudkit.

The idea is simple: create a tiny API for interaction between elements of a web application. Instead of requiring special mechanisms for tests, controller instantiation, or CSRF forgery protection, design apps as a collection of such elements strung together into a stack. As with Unix pipes, limiting the interaction between elements makes powerful combinations a snap.

Merb 0.9 was rebuilt from the ground up to take advantage of Rack, and Rails has begun incorporating it as well. Rails 3 will make Rack a fundamental part of the framework.

Join Yehuda and talk about how this powerful idea is influencing the next generation of Rails, and how it will change the way you develop.

Ratings and Recommendations

Avg. Rating

Average based
on 7 ratings

comments powered by Disqus