Embracing Collaboration with JRuby and JavaScript

As web developers, we live in an arranged marriage with JavaScript. What is a Rubyist to do? Use JavaScript as a compile target? Abstract it away on the server? With JRuby, we can embrace the shared language of the web in a compelling way, building reusable libraries that work across the client-server boundary. By bridging Ruby to JavaScript using Rhino, we gain shared databases, including their indexing strategies. We gain remote model discovery and shared client/server validation. We gain a shared query language. And because it is JavaScript, we gain the entire web community as collaborators.

Related Videos: