-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Jaroslaw Zabiello 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. :(
> 
> 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. But, the point is, that we
> do no need to create it from scratch. Why? Because there is already
> existing nice implementations of those helpers in Python! Another
> pythonic framework - Pylons - is using it. Look at
> http://pylonshq.com/WebHelpers/module-index.html. Why not to add these
> libraries to Django? Why somebody would like to reinvent the wheel?
> 
> 
> > 
I don't think "Ajax" should be included. Helpers like the ones in Rails
are encouraging bad design. Ajax should not be slapped onto a page to
make it look pretty, there are certain ways Ajax functionality should be
added to a page. For starters there shouldn't be a single character of
in-line Javascript on a page. Behavior should be separated from the
structure and obtrusive Javascript is bad. Using progressive enhancement
should be encouraged, so that means building the site without any
Javascript and then after the core functionality is working use
unobtrusive Javascript to enhance the content. Having "Ajax" "Helpers"
built into the framework will only encourage bad habits and bad coding.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEgQckviGJJnAgtcERAvvqAJ4+1sWeyooqllDcvWm3BL15nT+gRgCfR71t
P9uZ6usBHqamtDQWGFiOjZ4=
=Zqfe
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to