Hi, On Thursday, November 22, 2012 11:39:54 AM UTC+1, is_null wrote: > > More projects use AJAX nowadays. Django could help them more.
Django somehow does that already: It doesn't stand in your way :) > All generic views could do something like this. The point is to provide a > consistent API usable in AJAX. Given tools like knockoutjs and backbone with mappings between clientside and server I don't think that your proposed solution would cover many usecases.One would also need hooks to add extra data like normal views do with get_context_data etc… > What do you think ? Certainly nothing for Django-core at this time (at least in my personal opinion) and perfectly doable as 3-rd party app. Once your app gets traction and becomes the defacto-standard to use (more or less like south) we will think about including it. Don't get me wrong, I am not against Django providing a few helpers to make ajax heavy apps easier, I just don't think that your current approach will reach anything near 80:20 usability (I'd happily be proven wrong). For example sending the form as html to the client is probably not something everyone wants given the js-templating solutions like mustache etc… Best regards, Florian -- You received this message because you are subscribed to the Google Groups "Django developers" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-developers/-/kgFbG9jc9IQJ. To post to this group, send email to django-developers@googlegroups.com. To unsubscribe from this group, send email to django-developers+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-developers?hl=en.