News for hackers. Stuff that matters.

Anyone using Javascript on server side?

I see plenty of frameworks try to promote Javascript to be used on server-side:

http://en.wikipedia.org/wiki/Server-side_JavaScript http://www.joyeur.com/2009/01/14/joyent-acquires-reasonably-smart

I seriously doubt exiting server-side developers would use Javascript for server-side programming.

It doesn't make much sense to me as there are plenty of mature languages for server-side.

so is it just for front-end developers to apply their Javascript magic on server-side?

( 4 comments | 7 points | on HN )
Re:Anyone using Javascript on server side? by axod on Thursday January 15, 2009 @03:59AM (#434998)
I plan to use this in Mibbit, as a plugin system. Probably Rhino.

The idea would be that someone can write a backend and frontend component, submit them, and it'll be a little plugin app.

So you could have a whiteboard, multiplayer tetris, etc etc appearing next to the IRC chat.

Re:Anyone using Javascript on server side? by tower10 on Thursday January 15, 2009 @02:40AM (#434966)
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.

Re:Anyone using Javascript on server side? by snowstorm on Wednesday January 21, 2009 @12:08AM (#442844)
Building desktop Linux applications with JavaScript: http://arstechnica.com/articles/paedia/javascript-gtk-bindin...
Re:Anyone using Javascript on server side? by zh on Thursday January 15, 2009 @10:04AM (#435188)