Changes between Version 35 and Version 36 of AJAX
- Timestamp:
- Nov 15, 2011, 12:07:00 AM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AJAX
v35 v36 1 Question. Does django help developers by writing some of the AJAX code, as it helps them with HTML and SQL? If not, is there sample code to suggest a path? AJAX may not be needed for newspaper-type sites, but quite a few potential django sites need the snappy and small-grained interface that AJAX provides. Write me down as someone who would like to see AJAX support ... and, of course, feel free to delete this comment if it's ill-placed or irrelevant. -- Dan Kelley 1 Django doesn't natively provide AJAX support other than [http://docs.djangoproject.com/en/dev/topics/serialization/ serializers to JSON and XML]. Here are some resources to make it easier. 2 2 3 In case you're watching this page, I suggest taking this to the mailing list, as the Wiki isn't exactly a discussion venue. It's available on Google Groups: http://groups.google.com/group/django-users/ -- there are already a few good threads on AJAX support. Django already provides [http://docs.djangoproject.com/en/dev/topics/serialization/ serializers to JSON and XML]. Django allows you to easily pick your own JS toolkit. 3 == Libraries == 4 * Easy to use AJAX libraries for Django: http://www.dajaxproject.com 4 5 5 == Resources == 6 == Other relevant tools == 7 * JSONResponse like HttpResponse in views: http://chronosbox.org/blog/jsonresponse-in-django/ 8 * PrototypeJS: http://www.kelvinism.com/tech-blog/simple-ajax-django/ 6 9 7 * Somebody said this link: http://www.kelvinism.com/tech-blog/simple-ajax-django/ 10 == Tutorials and other resources == 11 8 12 * Another similar link (but more indepth) is http://www.willarson.com/blog/?p=36 9 13 * Reusing forms to do AJAX validation: http://toys.jacobian.org/presentations/2007/oscon/tutorial/#s67 10 14 * Doing server-side form validation with Dojo: (old-school style): [wiki:AJAX/Dojo/RefactoredFormSubmit] 11 * Easy to use AJAX libraries for Django: http://www.dajaxproject.com12 * JSONResponse like HttpResponse in views: http://chronosbox.org/blog/jsonresponse-in-django/13 15 * Quick learn: http://lethain.com/entry/2007/dec/11/two-faced-django-part-5-jquery-ajax/