Best Compatible JS Lib for Django

lkcl luke.leighton at googlemail.com
Sun Apr 12 13:15:47 EDT 2009


On Apr 4, 7:20 pm, Daniel Fetchinson <fetchin... at googlemail.com>
wrote:
> > Does anyone have experience with using JS Libraries with Django?

 yes - pyjamas - http://pyjs.org - although, strictly speaking, it's a
python widget-set and python-to-javascript compiler.

 the possibility now of being able to program in python both client-
side (to generate the front-end) and server-side is just _such_ a
relief.

 i now almost exclusively use django and pyjamas, for all web
development.

> > Do some work better than others and are easier to code with?

 i just did a quick review of one of the alternatives to pyjamas -
qooxdoo.org - which actually looks pretty good, except then you think
"hang on a minute - this is near-identical functionality to pyjamas,
i'm a python programmer, i'd have to get involved with javascript,
what the _hell_ am i _thinking_!"

http://groups.google.com/group/django-users/browse_thread/thread/9dad05e276c99a0c/d0c6dee57d89d376?lnk=gst&q=pyjamas#d0c6dee57d89d376

basically, pyjamas turns the web browser into a desktop widget set
platform.  apps are written in the same declarative style as python-
qt4 and python-gtk2 and python-wxwidgets.

all the browser incompatibilities are taken care of, with seamless per-
platform overrides for Netscape, Mozilla, Safari, Opera and IE.

so it couldn't _get_ any easier.

you don't even need to know any javascript - just a bit of CSS and
some HTML.

l.



More information about the Python-list mailing list