views:

156

answers:

2

I've been following the latest developments with server-side JavaScript - especially Node.js - and wondering if there is any possibility of using such an approach to develop a Google App Engine web application - either separately from or in combination with Python or Java?

+3  A: 

node.js uses an event-loop model which is not really a good fit with the current App Engine design.

However, there are several projects that bring JavaScript to App Engine. Check out App Engine issue 35 to read about some of the solutions. The highlights are: Rhino, Rhino For Webapps, if you like Python check out AppengineJS. I have also heard that RingoJS might be worth looking into.

Robert Kluin
Good answer, Robert. I would just add that AppEngine Issue #35 (http://code.google.com/p/googleappengine/issues/detail?id=35) is chock-a-block with lustful palpitations over and beseechments to Google to implement V8 runtine/Node.JS for AppEngine. Priority is 'Medium'. I don't know about Google, but where I work, a priority of Medium means, "You request is acknowledged and will be ignored." It bears noting that none of the comments on the issue address Robert's excellent point that there is an impedance mismatch between Node.js's event loop and AppEngine's request-orientation.
Adam Crossland
A: 

Tornado can run on app engine and is similar to node.js but using python, and has a nice yield approach too. But there are limitations with tornado's use on app engine that might defeat the object of using it for your project. See tornado on github for more info I use both but node.js with connect middelware and express.js to make node easier to use for simple web apps.

dryprogrammers