Friday, July 3, 2009

A conversion of the Python GAE Datastore API to JavaScript.

Initially, I wasn't impressed by Google's cloud offering. It seemed restrictive compared to EC2 and I didn't feel like wasting time to convert my code to a new programming language. The engineering team behind GAE continued to improve the service and eventually, with the release of the Java early preview, I was sold. In fact I am considering using GAE exclusively for my future projects.

Nitro, my lightweight JSGI Web Application Framework runs great on App Engine, thanks to Rhino. Moreover, I am working on appengine, a ServerJS package that exposes the GAE Java APIs to JavaScript. The project is in its infancy but I just added the beginnings of a port of the Python ext.db API. I think it is more intuitive than the JDO/JPA APIs. You can find an early version here. Hopefully, this code will attract some contributors to help with implementing more advanced features like GqlQuery.

Update: The name of the project was changed to 'appengine'.


2 comments:

Roberto Saccon said...

Would love to get more involved, also like the idea of modeling the Python db API (used that before), but with my current approach of using your skeleton eclipse GAE project, the dev server still throws errors at any arriving request, so I guess this needs to sorted out first so it is easy repeatable to get things up and running ...

George Moschovitis said...

Please be more patient, when I finalize the API I will release an example that uses JackServlet, Nitro and the appengine code.

Post a Comment