I am a staunch advocate of the unconventional Google Web Toolkit (GWT)
as a framework for dynamic Web application development. I also use
Django, of course. In my current project, much of my time has been
wasted devising how to transfer content to and from Django and GWT.

The root of my problem is that I am trying to maintain synchronization
between my Django ModelForm and what GWT is displaying. Being an
idealist, I hate coding the same thing in two different places when it
should be written once. I should be able to define a ModelForm and
have GWT read it. This isn't a severe problem at the moment,  but I
imagine it will be as my project grows and becomes more complex.

It seems that to adequately address my problem, I would have to write
classes to substantially mimic those of ModelForm, BoundField, etc. I
would also have to create some process to serialize them properly in
Django. By extension, a lot of Django's functionality could be
extended into GWT for tighter integration. Based on the silence of
Stack Overflow, this is territory that has yet to be treaded on:
http://stackoverflow.com/questions/369230/what-is-the-best-way-to-serialize-a-modelform-object-in-django

My question to Django users is, would you find such code to be useful
for this specific AJAX framework? What specific functionalities would
you seek to be integrated? Forms, or something else?





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to