Reputation: 87763
I am considering using Dojo in some new projects (or at least including it),, Partially because of it's compatibility with Google Closure Compiler's Advanced mode which will (hopefully) entirely delete all unused code.
What would I lose? (besides familiarity with syntax)
(also, generally any tips on what is different would probably be helpful)
Upvotes: 7
Views: 2837
Reputation: 69
Well if I need to say some thing now I would say there is not a difference for me between jquery and dojo because I don't use both. I use pure javascript that i have gone deeper on it that I don't need any of the libraries I create my own framework my own things more fast, pure, cured,
And I would say I have hated all libraries cause it make me more unkowing of things like the wonder of javascript and its beauty.
I dont advise using any library and if you need so do it after you know javascript for real.
Upvotes: -1
Reputation: 7278
For what it's worth, the full source version of dojo comes with ShrinkSafe. I'm not familiar with any performance comparisons between that and the closure complier, but I find dojo's module management and packaging tools (including ShrinkSafe) to be very useful.
Upvotes: 1
Reputation: 3582
I use jQuery myself, but to sum it up jQuery appears to be better documented and easier to do cool stuff "out of the box". Dojo appears to be easier to extend if you know what you are doing. I got this info from the community wiki here:
jQuery
Dojo
"Being a Dojo developer I would recommend Dojo. While my choice is not surprising, I became a Dojo developer because I found following things, which are done better than in other JavaScript frameworks:"
"Smart people in the community (last but not least) — as much as I love hand-holding for novices at some point every developer becomes "seasoned" and needs much more than that. If all you want is to write one-liners and add simple progressive enhancements to existing web applications, you can do it with pretty much any framework, or even with a pure JavaScript. But as soon as your web application becomes bigger or more complex good packaging, good support for your favorite methodologies, good building blocks, and the ability to make your own building blocks become more and more important. That's why I settled on Dojo, and never looked back."
Upvotes: 9