Wednesday, July 11, 2007

Javascript on the Server

Running Javascript on the server seems to be gaining in popularity. Last year I wrote a small framework to test writing web applications in Javascript. Tony Garnock-Jones later extended this to support building continuation based web applications.

More recently, Peter Michaux has taken my original code and made a nicer web framework out of it.

John Resig has written a browser DOM emulation layer that allows jQuery and some other frameworks to be run server side. His example code looks very neat. Combining this with a decent Javascript based web framework would make for a interesting environment.

Steve Yegge has apparently ported Rails to Javascript. Hopefully this code will be released as open source someday.

Sun have a server side Javascript web application environment, Phobos.

Helma looks to be a mature Javascript web system too.

I wonder if Javascript usage outside the browser is reaching a 'tipping point' and is about to grow dramatically. It's an under-appreciated language and is very much like a protoype OO based Scheme with a Java-ish syntax. Ecmascript 4 is looking to be even more interesting.

Categories:

Labels:

4 Comments:

Blogger Maksim Lin said...

Hi,

I completely agree.
I've been using Helma for about 12 months now and as former J2EE developer find it a fantastic way of developing small to medium sized apps, especially the type that many Java developers have started using Rails for.
Helma is a very mature web framework (that predates Rails!!) that is very well conceived, cleanly implemented and has small memory usage and is blazingly fast.
I've written a bit about why I chose to use it over Rails and some of my experiences (http://www.manichord.com/blog/) and am actually currently working on a series of introductory articles to using helma written especially for Java web developers.

BTW your previous article about using JS as a simple assembler was great, please do post more about it if you continue working on it.

4:05 PM  
Blogger Chris Double said...

Thanks, I'll have a look at your postings on Helma.

Yes, I'm still tinkering with the javascript assembler/image stuff and I'll definitely be posting more about it when I'm a little further along.

3:44 PM  
Blogger Richard said...

There's also Zimki, a Javascript server environment written by the guys at Fotango.

4:57 AM  
Blogger Dave said...

Dare I even mention that at our shop we've been using jscript (vs the default vbscript) as our server side language of choice for about five years now on our IIS box. Almost a year ago now, I ripped the relevant parts of the prototype.js framework for use on our server side, I've been very happy ever since. :)

8:20 AM  

Post a Comment

<< Home