Dojo JavaScript Toolkit 1.8 Released
dojotoolkit.org
dojotoolkit.org
http://w3techs.com/technologies/overview/javascript_library/...
Also, the comparison of FF/IE and Windows/Mac, the argument is flawed - the underdogs came out to fix problems with the status quo. Dojo does not provide significant benefit over jQuery or similar tools to warrant switching frameworks.
Dojo has plugins for localization and text loading that are needed for certain features. You would need similar capabilities in other AMD loaders for them to work. I believe it's simple enough to get most of Dojo working with RequireJS, or with Curl.
This is not correct at all. Compared to jquery, dojo is significantly better option for large projects. Dojo has a very rich unified set of widgets, jQuery has plugins, but they do not play well with each other. Each jQuery plugin is unique, with no standard way to extend them. I can extend any dojo class and in a very uniform fashion.
It is possible to do write good code in jQuery, but a vast majority of them are not, jQuery is like PHP, a haphazard mix of functions that do something. Dojo is like Django etc, with everything thought out from start to end, everything gels together.
Or at least that is my initial impression, would love to know why you believe the class system, the AMD modules, the rich widget library, storage framework, MVC framework, i18n, etc offered by dojo is no benefit to you?
As to why it's not more popular? Likely marketing. Dojo isn't sexy. It's been around for a very long time.
You'll notice that a lot of discussions around things like module loading reference Dojo as an inspiration.
Rebecca also gives a detailed description of her first foray into Dojo coming from jQuery. [2]
Personally, I think Dojo's lack of good documentation/reference code, lack of 'marketing', and relative complexity keep it from becoming popular. It's much easier to get started with another library like jQuery because of all these factors. However, once you get over that initial steep learning curve, Dojo is great!
[1] http://www.quora.com/Rebecca-Murphey/answers/Dojo-JavaScript...
[2] http://rmurphey.com/blog/2009/11/12/dojo-confessions-or-how-...
edit: corrected name to Rebecca
Marketing is challenging for engineers. We tend to not go crazy over every small feature, but focus on the big stuff. That said, we're improving our approach.
Two points:
1. The tutorial shows using the CDN, then there's big warnings saying "don't do this in production". Give another demonstration of the "highly recommended" approach vs leaving people to piece that together themselves.
2. "we tend to not go crazy over every small feature". What's a small feature to you may just be something that 80 people have been waiting patiently for. While you can often judge what a 'big' feature is by your standards, dismissing many other things as 'small' probably misses a lot of people.
Its just not that easy to get started with and get a sane production build from dojo yet. Hope all of this will change by the time 2.0 is out.
I find dojo project way more neater than an equivalent jquery project by default.
Module systems rock. Real object oriented programming rocks, see how I extended Pager to make PausePager, this is how object oriented programming was meant to be. The fact that I can extend any dojo class, and the fact that dojo comes with a large collection of class, its just too sweet.
I have not yet created a "build", so there are a bit too many http requests (check work in progress live version here: http://amitu.com/ikog/), but I am hoping after build this issue would be solved.
Lets see how it goes.
So my next task is to refactor my todo.html into a framework based on Dojo Boilerplate [2]
I suggest starting with a bare Dojo Boilerplate that builds nicely, then adding your ikog code to the boilerplate project.
It's more difficult to build later, although you can go a long way with the online Dojo Web Builder [3]
[1] https://github.com/Leftium/todo.html
[2] https://github.com/Leftium/dojo-boilerplate
[3] http://dojotoolkit.org/blog/introducing-the-new-dojo-web-bui...
I like that build.sh in dojo boilerplate "minifies" the html file too!
I checked your todo.sh project, I see the html page, and java loads, but nothing happens when I type something and press enter in text field. May be you just started and its not implemented yet, or may be I am doing something wrong.
My suggestion to you would be to do a hosted version, that syncs to dropbox. That is my plan for iKog. Parse is good if you do not want to have a dependency on dropbox, as a storage. Both of these allow me to access todo list from anywhere, the applet solution does not allow that.
It all depends on what you want to do, for me it is a playing ground to work with different libraries/services.
I have yet to start producing the app, but Dojo really deserves more attention.
Dojo is my primary js framework, I prefer it over jQuery, because it's more strict.
If you don't think that WYSIWYG IDEs are useful, then that's fine, but some do, and I thought I'd share.
More details: Dojo 1.x to 2.0 migration guide [3]
[1] http://dojotoolkit.org/features/1.6/html5data-attributes
[2] http://dojotoolkit.org/reference-guide/1.8/releasenotes/1.6....
[3] http://dojotoolkit.org/reference-guide/1.8/releasenotes/migr...