David Ascher wrote: > > > > Goofy idea: use the Python logic to generate JS code to do clientside > validation based on the model-specified constraints. Detailed specification > and implementation are left as an exercise to the reader. ;-) >
Scarily: http://codespeak.net/svn/pypy/dist/pypy/translator/js/ PyPy rpython -> js translator, then run the full PyPy on that. Overkill, perchance ;-) Even worse: http://www.aminus.org/blogs/index.php/phunt/2005/10/06/subway_s_new_ajax_framework Translates in a sickeningly stringish fashion python to javascript.