It seems clear that since the Esri JS API was released that Esri has showed a strong favoritism towards Dojo for some reason and I'm sure they have had their reason for this.
...it's become clear in the last 1-2 years that jQuery is the premier JavaScript framework.
In fact, this looks to be Esri's focus in the JS mobile space with jQuery mobile.
Is Esri going to begin to show more support for jQuery where we can completely utilize only that framework?
Hi Derek,
Thanks again for the info and your candor on this, it is much appreciated. I definitely understand the reasoning but I think many in the community don't or just don't agree. I imagine you get this kind of negative feedback on using dojo alot. As seen in that blog post comments I listed above alone, about everyone is negative towards dojo. The open source community seems to embrace jQuery over dojo as well.
I get that you are hesitant to lean on the jQuery plug-in community but many of these efforts are probably bigger than dojo community all together. So that is being traded for relying on the dojo framework. The same argument against relying on jQuery plugins could be used against relying on a framework at all such as dojo or even jQuery. As I said before, I just see this as problem today and is only going to get bigger as time goes on due the popularity of jQuery.
var tabs = jQuery(dojo.hitch(this,function() {
jQuery( "#infoPopupTabs" ).tabs({
selected: 1,
select:dojo.hitch(this, function(e, ui){
this.readDetailSizePreference();
})
});
}));...what is it about jQuery that makes it so popular?
Is dojo better for GIS, maybe, sounds like it is for Esri but not for the opensource GIS community it seems.
I think you nailed it when you said those opensource frameworks don't use a framework. And that is my main point with all of this and that's why I think you see the negative comments with Esri leveraging dojo heavily.
I promise this is my last post on this topic since I completely agree that our time is better spent making cool stuff rather than these holy wars. Yes, popularity should not determine what framework to use, but what is it about jQuery that makes it so popular? Is it for technical reasons, probably so. Is dojo better for GIS, maybe, sounds like it is for Esri but not for the opensource GIS community it seems. I think you nailed it when you said those opensource frameworks don't use a framework. And that is my main point with all of this and that's why I think you see the negative comments with Esri leveraging dojo heavily.
That would be great if someone could write up something on comparing dojo to jQuery rather than the bashing with no legitimate argument. I definitely don't have enough background in either to do that. Maybe Jeff could put something like that in a blog post or something?