Tuesday, April 24, 2012

Bite-sized RailsConf, Aaron Patterson

As should have been obvious to me after my Day 0 post, there's way too much going on at RailsConf for me to reasonably try to do one post that covers everything I wanted to say about the day.  Yesterday's post just underscored this issue even more.

So I'm going to make smaller, more bite-sized posts throughout the day and see how that goes.

One item of note prior to the first keynote of the morning was the announcement/reminder for the live Ruby Rogues podcast tomorrow.  They'll be taking previously submitted questions to discuss on the panel, but they need to be emailed in today.  So if you have a question for any of them, send it in to panel[at]rubyrogues.com

On to the main event: Aaron Patterson

After some amusing anecdotes about trying to fill out his annual review, we move on to the actual topic: Failure. 

He starts off by discussing Yehuda Katz's recent Kickstarter project, called Tokaido.  Tokaido is a binary distribution/installer for Ruby that also comes packaged with all of the gems necessary to run Rails.

Why do we have ActionMailer? To send email, obviously.  But often our controller code directly calls the email triggers, ignoring any Concurrency concerns this could cause in our applications. So why do we have ActionMailer, but we don't have a Queue?  Turns out we do have a Queue, called ActiveQueue, but there are a few issues.  No one uses it, because it has no documentation, no examples, and technically 0 lines of implementation code. What he would like to see in Rails 4 is for it to be the driving force to create an API for the various Queuing implementations available.  

Fear of Features
"Older developers have a lower tolerance for Technical Debt."  This stems in large part from becoming more familiar with the maintenance costs associated with new features.

"Our Browsers are getting more powerful, and we need to take advantage of them."

For a while now most (or all) of our computations have been run on the server.  Things are changing now, with JavaScript on the client-side becoming more and more important.  And we need to be prepared for that shift.

No comments:

Post a Comment