I'm not too familiar with .NET, but with middleware and decorators it
would be possible, there would just need to be some awareness. One
thing we had done on Curse, was wrap the jQuery base AJAX call, and
our login_required methods. If a JS method was sent in (all JS methods
were to /js/ or had js in the GET request) it would send back status
codes instead of normal pages. I'm not sure if it violates rules, but
we could do that, and say if status code is Y do X. Otherwise it could
be something like @ajaxify(FormClass, OtherFormClass). I'm not really
sure, ideas are very welcome though :)

On Mar 27, 10:19 am, Darien García <[EMAIL PROTECTED]> wrote:
> I think it's possible, using python decorators and django midleware,
> implement something like AJAX.NET in the way of sending python objects
> to the page via JSON using a python-JSON translator. And I'm also
> looking forward for the tool.
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to