Live data from Hacker News

Dojo JavaScript Toolkit 1.8 Released

dojotoolkit.org

31–33 of 33 posts

Re: Dojo JavaScript Toolkit 1.8 Released

#31
post #30

Earlier quoted context omitted.

Dojo is used in more than 80% of the world's 2000 largest companies. Yes, it's not the default toolkit for WordPress or other large blogging and microsite platforms (which dominate the number of sites on the web), but Dojo is used far more than the numbers indicate. For every 10,000 basic sites, there's an impressive app out there that makes use of it. As I've argued before, if Apple had given up to Microsoft because…

Unfortunately, you cannot load Dojo with other AMD loaders. It has shims and features within its dojo.js that prevent's other loaders from being able to use it; dojo can load other AMD modules but not vice-versa. 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 w…

The latter point is your opinion, but certainly many developers actually believe it does.

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.

Re: Dojo JavaScript Toolkit 1.8 Released

#32
post #25
post #8

One of the best javascript library out there, checkout my work in progress attempt to port ikog to web while I am learning dojo: https://github.com/amitu/ikog . 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…

Cool! I'm doing a similar port of todo.sh [1] Except when I started I didn't know about Dojo... 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] ht…

Thanks for the suggestion, I am looking into boilerplate now.

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.

Re: Dojo JavaScript Toolkit 1.8 Released

#33
post #30

Earlier quoted context omitted.

Dojo is used in more than 80% of the world's 2000 largest companies. Yes, it's not the default toolkit for WordPress or other large blogging and microsite platforms (which dominate the number of sites on the web), but Dojo is used far more than the numbers indicate. For every 10,000 basic sites, there's an impressive app out there that makes use of it. As I've argued before, if Apple had given up to Microsoft because…

Unfortunately, you cannot load Dojo with other AMD loaders. It has shims and features within its dojo.js that prevent's other loaders from being able to use it; dojo can load other AMD modules but not vice-versa. 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 w…

"Dojo does not provide significant benefit over jQuery or similar tools to warrant switching frameworks."

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?

Post reply on HN