InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

MountainWest RubyConf 2009 Videos

Posted by Mirko Stocker on Apr 02, 2009

Sections
Development,
Architecture & Design
Topics
Ruby ,
Usability ,
Ruby on Rails
Tags
Merb ,
Rubinius ,
Conferences ,
DSLs

MountainWest RubyConf took place from 13-14 March in Salt Lake City. All talks are available from Confreaks; we picked some interesting ones to give you a coarse overview and some pointers into the talks.

The Great Rails Refactor

Yehuda Katz talks about the merge of Rails and Merb to what will become Rails 3.

The first topic is ORM agnosticism and ActionORM, an abstraction to other ORM interfaces to make it easier to use alternatives to ActiveRecord (3:00).

Merb still evolves (11:10) and accumulates new features (Controller#call, Router#call) from Rails 2.3 that will also be in Rails 3, to make Rails and Merb similar enough to allow an easy migration.

At 17:50, Yehuda elaborates on some of the refactoring that is currently going on: cleaning (and also speeding) up of Callbacks, a bottleneck found through profiling; removing of old and confusing code in ActionPack (21:52) and separating code into new frameworks, like ActionDispatch (24:00)

Merb 1 has three different kinds of APIs (public, private and plug-in, 28:25), Rails will also get a plug-in API, but the specifics are yet to be decided.

Rack::Bug (30:55), inspired by the DJango Debug Toolbar, will make debugging and the writing of instrumentation code easier.

Last but not least (33:53), they want to make sure that JRuby and Ruby 1.9 can run Rails 3.

DSL Design and Construction

Jeremy McAnally gives an introductory talk to DSLs, starting with the reasons to create DSLs. With many examples, he elaborates on the difference between external (8:22) and internal DSLs (10:05).

If you already know the basics of DSLs, you can skip directly to the section on the DSL design decisions (16:32) and learn how to find the essential terms for the language.

The remainder of the talk is mainly about the different implementation patterns for DSLs (19:11), for example method chaining or the usage of method_missing.

He closes with a few words on testing DSLs (32:40).

Rubinius

For a quick overview on what's currently going on with Rubinius (Garbage Collector, FFI), you might want to take the 5 minutes to listen to Brian Ford

Usability on Rails

Starts with a general motivation and introduction of usability. The main part of the presentation covers 7 usability principles with lots of real world examples and hints for developers.

  • create structure (4:50)
  • use standards (7:10)
  • be predictable (8:01)
  • reduce barriers (10:00)
  • add affordance (11:53)
  • give feedback (15:08)
  • simplify (17:18)

After Adam Dunford (21:30), Jason Edwards starts with a freshly scaffolded Rails application and shows in several iterations how it can be made more usable according to the 7 principles above.

Vertebra

Kirk Haines from Engine Yard explains how Vertebra, their framework for managing fault tolerant services, is comprised. He starts with the foundations: the XMPP based protocol (2:54) and the Ejabberd server (5:15).

Agents (5:55) run on your machines in the cloud and provide a certain service, which they register at a Herault (7:30). Those services can then be discovered from client agents from the Heraults (9:30). Herault's also handle authorization (10:06).

If you have several agents providing the same service, you can use a Scope (11:56) to control how the operations are distributed.

After this introduction, Haines elaborates on the libraries and frameworks they used to build Vertebra as well as the problems they encountered: XMPP4EM (14:05), Loudmouth (14:28), EventMachine::Deferrable (15:23).

Another good one by James Hess Posted
  1. Back to top

    Another good one

    by James Hess

    I have watched most of these and they are excellent. I would also recommend watching Philippe Hanrigou's talk: mwrc2009.confreaks.com/14-mar-2009-15-35-what-t...

    I also thought the talk about Cucumber was very good and interesting as well: mwrc2009.confreaks.com/14-mar-2009-15-00-bdd-wi...

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.