Sessions at Lone Star Ruby Conference V about JavaScript

Your current filters are…

Saturday 13th August 2011

  • The Ruby Racer: Under the Hood

    by Charles Lowell

    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.

    At 9:30am to 10:15am, Saturday 13th August

    Coverage slide deck

  • Javascript for people who didn't learn Javascript

    by Jesse Wolgamott

    Javascript is easy to get into, and jQuery made it easy to do powerful things. But what about prototype inheritance? Binding? What about all the things you should know about the language before building Node apps. We'll go over the concepts through code examples and figure this whole thing out together.

    At 10:30am to 11:15am, Saturday 13th August

  • Testing Javascript with Jasmine

    by Tim Tyrrell

    A lot of developers do an excellent job of unit testing their server-side logic but then leave their client-side javascript as the new "spaghetti code" dumping ground and it doesn't have to be that way! Jasmine is a simple DOM-less javascript testing framework with a familiar RSpec-like syntax that removes most excuses for not testing your code. You will get an overview of Jasmine and how to utilize it in a variety of project environments from vanilla javascript to Rails to jQuery plugins. We will also explore where CoffeeScript and some helper libraries fit into making the testing of your javascript as simple and pleasurable as possible.

    At 11:15am to 12:00pm, Saturday 13th August