The Ruby Racer: Under the Hood 4.05


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.

Comments on this Talk

Avatar-missing-icon-05 Steven Harms, 13 Aug 04:23 PM

This was a great presentation and Charles' work thus far has made a really exciting project. The presentation had a lovely symmetry to it (appropriate to the content presented).

Face2 Tim Tyrrell, 14 Aug 10:48 PM

You are a very good presenter.

Avatar-missing-icon-04 xianchen, 10 May 01:53 AM

(and perhaps in addition to Hermes) is among the hardly any elite manufacturers that still maintain his or her benefit many years after it has distributed. Not like many fashion makes available that seem to devalue within value soon after that it is put on, the actual vintage louis vuitton seem to be more widely used your more mature and less available the piece. louis vuitton can also be one of many experts of the debilitating value improve, through growing it is luggage every single season up to $500USD to get a simple tote.?If you were deliberating whether or not to get a louis vuitton bag just do it, it simply climbs up inside price every year!<br> Many of us in addition believe that are generally heirlooms in the future, which is precisely why we all brand our own company right after the idea! We view a 20-30% enhance of value every year associated with VINTAGE louis vuitton luggage, particularly the elderly the actual 1980-96 items, these are becoming more challenging to discover, and particularly the actual Position An ailment parts, the particular investment is getting really limited for this reason generating the costs and also need, that leads us for you to.

Have an account? Sign in or register.

Leave a Comment

11 Ratings: 4.05

Delivery: 4.15

Content: 3.95

Last Five Ratings