4 ms·
I think the issue is that Dojo and jQuery are very different in their aims, Dojo is a comprehensive toolkit, where jQuery is more focused on selectors and the d
by kls 14y ago
I think the issue is that Dojo and jQuery are very different in their aims, Dojo is a comprehensive toolkit, where jQuery is more focused on selectors and the dom, it has grown over time but it is not as complete as Dojo or some of the other project that's goal is to be a comprehensive toolkit. Dojo targets the same market as YUI or Ext and out of those I personally prefer Dojo. Dojo is a good tool when you are looking to replace a tradition large application with an HTML based equivalent. It's not so great for packaging up a 3rd party widget that people can just drop on their page.
Further I see Dojo as following the Java or .NET model of one large well integrated project where building apps with jQuery is more like the Perl approach of small projects contributed by a host of individuals. So with jQuery you generally go out and get Require.js, Underscore.js, Backbone.js and piecemeal together your libraries as you need them. There are merits to both models but some prefer one over the other. For me I use both, but it depends on the requirements. If someone wants a large corporate app replaced with a HTML version, I choose Dojo, if someone wants a widget that they can give out to third parties I choose jQuery.