Skip to content

Comment on Anyone using Javascript on server side?

Comments

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.