Hi all I have been playing around with jQuery, ext.js and dojo lately. Without starting a library war (again) I would argue for supporting dojo, because it has a small base and nice widgets like the other, but also offers advanced stuff, like graphics (SVG, Canvas) and a Comet client. These are things that the ext developers are not interested in developing (judging from reactions to a post on their forums) and that I could not find for jQuery, either. Dojo 1.1 is just out and looks great - documentation is also improving a lot.
Anyway, it should be possible to support one (standard) library well and enable the use of others optionally by providing basic widgets. my 2c André http://www.oreillynet.com/onlamp/blog/2008/02/dojo_goodness_part_1_1.html http://www.oreillynet.com/onlamp/blog/2008/02/hot_new_dojo_api_docs.html http://www.sitepen.com/blog/2008/03/31/rich-ui-webapps-with-turbogears-2-and-dojo-screencast/ On Apr 1, 5:10 am, "Mark Ramm" <[EMAIL PROTECTED]> wrote: > > I have specifically asked the student applicants for twTools related > > projects to discuss the selection of JS libraries, since we have several > > proposals which are planning implement a map and datagrid ToscaWidget, > > and it would be a waste of time and effort, IMHO, if they all picked a > > different JS library and then wouldn't be able to share their work. > > I have two things I'd like to propose in terms of deciding on a basic > javascript library to use. > > 1) let's use javascript libraries that at least attempt to play well > with others. That > means a library which: > > * Namespaces everything (or almost everything) by default > * doesn't t monkey with the prototype objects in incompatible ways. > > 2) We try to make a distinction between widgets which "degrade > gracefully" and those which don't. > > Now on to my personal opinion. > > Jquery's selector based aproach has been adopted by both ext.js and > dojo, and both ext.js and dojo have small "base" packages which > compete rather directly with jquery. But both ext.js and dojo have > large sets of complex widgets. Ext.js has the most flexible and > datagrid around, but dojo has a much better "package management" > system, and has a very extensive set of tools. > > Jquery has 3 books, but is just getting started in the widget and > packaging game. Dojo has 3 books comming out in the next couple > months. Ext.js is the new kid on that block, but it has worked our > really well for me on a project at work. > > My current feeling is that we should probably standardize on either > dojo or ext.js but work very hard to promote jquery (and set it up in > the most cross-compatable way). > > --Mark --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
