I'm not so sure its such a bad idea to bundle a JS toolkit with the
framework.

Last time i checked, there's about 65Kb of custom JS in django already.
>From a first glance this is all functionality that can be found in most
JS toolkits. Right now, if i want to use a toolkit, i have to accept
its footprint plus that of django's custom JS. If a modular js toolkit
is chosen, or a toolkit that is willing to have a custom branch for
django developers, i bet we could go below that 65Kb and have more
functionality to boot.


The positive side to bundling a JS toolkit:
- No need to maintain/extend the JS code yourselves

- There'd be clarity for the developer that wants to use A toolkit.
Some people are not in a specific JS toolkit camp, and don't mind
learning one, but right now are unsure as to wich one to pick.

- Ajax would be a possibility. I know many of you don't like ajax, but
i believe that if its used with consideration and restraint (i.e. no
color-changing div layers flying about), it can be a big plus. This
does not mean that the admin generator should use ajax per default
though.


The negative side:
- Some people will rather use another JS toolkit than the one that will
be chosen (and will rant about it). On that note, i don't think it
would be too hard for someone to write a wiki entry on how to replace
default toolkit X with their toolkit Y (and explain its superiority).


Some notes on implementation:
- I suggest a thread is started where the pros & cons of all JS
toolkits are weighed in, and  a choise is made as a community on wich
one to pick. Frankly, i don't think many will get religeous about their
toolkit. I believe most (including me) just want A toolkit.

- I think the chosen JS toolkit should be as loosly coupled with the
framework as possible. i.e. no javascript helpers (à la RoR) that
sprout blocks of javascript code everywhere.

- If implemented correctly, i don't see how choosing a JS toolkit would
get in the way of anyone, even people that don't want to use JS or ajax
or whatever at all.


Feel free to disagree with me, but voice your opinion please.
Simon.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django developers" group.
To post to this group, send email to django-developers@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-developers
-~----------~----~----~----~------~----~------~--~---

Reply via email to