Get Lanyrd on your mobile (iPhone, Android and more) - check it out here

The Ruby Racer: Under the Hood

A session at Lone Star Ruby Conference V

Saturday 13th August, 2011

9:30am to 10:15am (CST)

Have you ever had to implement the same validation logic twice: once in JavaScript for the browser and once in Ruby for the server? Has there ever been a JavaScript library like handlebars.js that you'd love to use server side, but can't because well... it's in JavaScript and not Ruby? Or perhaps a time or two you've been tempted to eval() some anonymous Ruby code, but you didn't dare because it's an unspeakably dangerous thing to do?

The solutions to these and many other problems are suddenly and elegantly within your grasp when you've got the power of a JavaScript interpreter right there with you in your ruby process.

Sound crazy? difficult? It's easier than you might think. This talk will focus on The Ruby Racer: a gem that brings the superb V8 interpteter to Ruby. We'll see how to call JavaScript functions directly from Ruby; how to call Ruby methods directly from JavaScript; how to extend Ruby classes with JavaScript; how to extend your JavaScript objects with Ruby, and a slew of other ways of managing their interaction that will bend your mind.

About the speaker

This person is speaking at this event.
Charles Lowell

The Dude Abides bio from Twitter

Coverage of this session

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

Tell your friends!

When

Time 9:30am10:15am CST

Date Sat 13th August 2011

Short URL

lanyrd.com/sgprr

Official event site

www.lonestarrubyconf.com

View the schedule

Share

Topics

See something wrong?

Report an issue with this session