Hacker News new | ask | show | jobs
by tower10 6358 days ago
I prototyped a Rails-like framework in JavaScript using Rhino and Servlets and was suprised how feasible the whole thing seemed for a production website. JavaScript is perfectly capable for this IMO.

The benefits come when you start to re-use code on the front- and back-end. An obvious example is form validation business rules. Using the same models can be really handy in AJAX-heavy apps, too. It can be very DRY if done right.

I saw that someone recently wrote a V8 module for Apache - that could lead to some really interesting developments.