Compare GWT and Django? Compare GWT and Django? django django

Compare GWT and Django?


GWT: http://code.google.com/webtoolkit/

Faster AJAX than you'd write by hand

With Google Web Toolkit (GWT), you write your AJAX front-end in the Java programming language which GWT then cross-compiles into optimized JavaScript that automatically works across all major browsers.

Django: http://www.djangoproject.com/

a high-level Python Web framework that encourages rapid development and clean, pragmatic design.

They have little or nothing to do with each other. Django provides some Javascript; Django can easily handle the server-side of any Ajax conversation.

Django doesn't help you write javascript. It helps you write the server-side of the application.

Django helps you write the HTML pagess (with templates). If the page includes, or relies on Javascript, Django doesn't care very much at all.


pyjamas is a Python port of the GWT, so all the javascript is generated using Python instead of Java.

If you're planning on working with Django it might simplify to make your entire shop code in Python.


It is quite possible to use both in the same project. I've been working on such a project for some time now. Have Django handle the server side and leave the client side to GWT. The only issue I have is that the RPC mechanism in GWT cannot be used because it works with Java servlets. I use JSON for communication instead.