Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

The Narwhal project (http://narwhaljs.org/) attempts to make JavaScript generally more useful and pleasant outside the browser, adding a module system, standard library, package manager, etc.

It's designed to be interpreter agnostic, by implementing as much as possible in JavaScript, only dropping down to native modules where necessary (file io, etc). Currently Rhino is the best supported platform but people are working on V8 and Mozilla support as well.

It's still a work in progress but it's at the point where you can start playing with it. All of the Cappuccino build tools use it now, btw.

Then there's JSGI and Jack (http://jackjs.org/), which is how you interface with webservers. JSGI is a standard interface for JavaScript web applications and middleware, and Jack is an implementation of several web server adapters, middleware, and utilities, essentially a port of Ruby's Rack.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: