On Sun, Jan 18, 2009 at 3:31 PM, Diez B. Roggisch <[email protected]> wrote: > > Seth schrieb: >> Back in TG 1, MochiKit seemed to be the "officially blessed" JS >> library for TG. What is it in TG 2? >> >> In the 2.0 docs there's mention of MochiKit, JQuery, and ExtJS. >> However, I've seen Kevin and Mark do presentations using Dojo. > > There is no official endorsed library. Some libraries are available as > e.g. tw packages (jquery).
Just to enforce the statement, in JS there is no best. They have different uses and some even overlap. For example jquery is a very different best than extjs. extjs is similar to dijit, but a totally different thing than prototype. Scriptaculous .... you see the point. On the other hand the "blessing" of mochikit was really very thin, if you here around in those days it was simply the fact that it was installed together with TG, in fact a lot of people used any library that fits their needs and there was nothing in TG1 to make it simpler or harder to use. As for TG2 the official policy is to be agnostic, they all work with and as Diez pointed out the toscawidgets project has several wrappers that simplify things. That said you don't even need those, I have personally used extjs and jquery (without the tw wrappers) in TG2 and it's great. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
