iain duncan schrieb: > FWIW, jquery is gaining a lot of traction in related areas that I think > feed into TG, for example Drupal. I personally think jQuery is a good > fit on account of it's smaller size and more modular nature.
It is important that we make a decision here, because we need to start creating a powerful widget set for 1.1 and 2.0 that can replace the old standard TG widgets of 1.0. The more complex and AJAX based widgets certainly need a Javascript library so we cannot retract to saying we don't choose any library. MochiKit has the advantage that it is very simple, Pythonic and pretty stable. There will probably be a 1.4 version soon with all the visual effects, but I think there will not be huge changes any more. I have built some nice custom widgets like sliders or accordions based on MochiKit and it works pretty well. On the other hand, jQuery, ExtJS and other libs are more powerful and provide some higher level functionality that more or less only needs to be wrapped by our widgets. Maybe we should not target a simple standard widget set, but more like a hierarchical widget library. I.e. create subpackage with base widgets, html form elements, mochikit-based widgets, extJS-based widgets etc. Some of them could become extensions, but I am all for shipping TG with a good core "standard widget library". Creating such a libary is in my eyes one of the major tasks to be done for both 1.1 and 2.0 (we decided to use TW for TG 1.1 already). This includes creating a good documentation and a better widget browser. The Python standard lib (Python's "batteries included" approach) is one of the main reasons why Python is so successful, and the standard lib documentation can be considered the core of the Python documentation. We should think of the TG widget library as playing a similarly crucial role in the TG framework. From this point of view, it is important that we choose one JS lib to be used for widgets so that we can start building the standard widget lib. -- Christoph --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears Trunk" 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/turbogears-trunk?hl=en -~----------~----~----~----~------~----~------~--~---
