On 6/2/06, Jaroslaw Zabiello <[EMAIL PROTECTED]> wrote: > I have heard that in Django 0.92 we will have added Ajax. We are having > 0.95 now (svn) and still nothing was added. :(
So far as I know, no one, including myself (and I did the porting of the admin JS to Dojo), ever laid out a specific version for "AJAX". Making it easier to use AJAX with Django is certainly something that's planned, but no-one can give you an exact date or version number for it to happen at this point. > Why? The idea is simple. Ajax is pain in ass if we would like to use > only pure JavaScript. So we need good helpers fo more comfortable work. > For me Rails has very cool Ajax support. They have even special > templates (rjs) for Ajax. It is very cool. In my opinion, it's not cool at all. Even setting aside the various criticisms of Prototype (the JS library used by Rails), I think that's much, much more than a good framework should provide. I've said before, and I will say again, and I will likely keep saying in the future, that I think Django would be best served by doing two things: 1. Provide an easy way to make generic remote calls, most likely via some sort of (hopefully RESTful) API. And not just remote calls from JavaScript. 2. Provide a JavaScript library which can use the API we develop, but keep the API well-documented so that people who want to talk to it without using our library can do so. Beyond that, I think tightly coupling Django to any particular JS toolkit or way of using JS would be out of character for us; we should make it easy for developers to use whatever techniques and tools they prefer. Also, it is extremely easy to do "AJAX" with Django right this very minute; plug a generic view into a template that outputs XML or JSON, and bingo, you've got AJAX. -- "May the forces of evil become confused on the way to your house." -- George Carlin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

