jQuery / Dojo, UI / Dijit cross reference?
I concede that this question may fall into the 'discussable' but not 'answerable' category. If so, I do apologize and please mark the question as such.
The question: I've mainly used jQuery and UI for my front-end interaction and AJAX. I need to help on a Dojo project quickly if possible and was wondering if anyone knows of a decent bit of documentation that is written more a a cross-reference with jQuery. For instance, if you use jQuery.UI for tabs, then here's the equivalent in Dojo. If开发者_运维知识库 you want to select an object with a specific ID you do this in jQuery, and this in Dojo... etc.
(Come to think of it, that might be a great idea for a web site... a jQuery vs. MooTools vs. Dojo vs. Scriptaculous vs. extjs vs. etc examples...)
The closest thing to the concept of a cross-reference I can think of is cheat sheets -- you get a quick overview and samples for basic usage.
Here's a good list of JavaScript library cheat sheets which includes jQuery and Dojo:
http://uksen.com/blog/2009/07/15/popular-javascript-libraries-7-cheat-sheets/
I agree with Alex Martelli, it's a great idea for a website. A sort of JavaScript Library Rosetta Stone :)
精彩评论