Software Development Videos and Tutorials: Java, .NET, Ruby, Python, JavaScript, Agile, Software Testing
 
Embracing Collaboration with JRuby and JavaScript

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.