Live data from Hacker News

Dojo JavaScript Toolkit 1.8 Released

dojotoolkit.org

21–30 of 33 posts

Re: Dojo JavaScript Toolkit 1.8 Released

#22

I am forced to use Dojo whenever I am doing any sort of ESRI Arcgis web map development. While I agree that there are some nice points in Dojo, I think it's a travesty the way they were okay with PUKING all over the DOM with their Dojo specific markup. We have data attributes now, so hopefully they are beginning to leverage that. The app I'm working on now still uses Dojo 1.7 and it still has quite a bit of "dojo-thi…

Since 1.6, everything uses data-dojo-*, which is the HTML5 recommended approach for toolkits.

Re: Dojo JavaScript Toolkit 1.8 Released

#23
post #14
post #6

Earlier quoted context omitted.

Popularity is fickle... things that are new and sexy get more buzz, things that are solid and reliable and powerful get used a lot, but don't receive as much hype.

I recently did a project using Dojo (1.7) and my coworker told me that it 'lost the war' against jQuery. Having worked with it, the documentation was absolutely horrid (which they no claim to have somewhat resolved). As for popularity, it is a Catch-22 - it's not used very often and so no one is willing to learn it and people don't learn it, so it's not used very often. From the same website showing jQuery is on 50%…

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 everyone used Windows, or if Firefox had given up because everyone used IE, the world would be a boring place. With AMD, it's less about Dojo vs. other toolkits, and more about how to use toolkits together in an efficient modular manner to build the app you need.

Re: Dojo JavaScript Toolkit 1.8 Released

#24

I am forced to use Dojo whenever I am doing any sort of ESRI Arcgis web map development. While I agree that there are some nice points in Dojo, I think it's a travesty the way they were okay with PUKING all over the DOM with their Dojo specific markup. We have data attributes now, so hopefully they are beginning to leverage that. The app I'm working on now still uses Dojo 1.7 and it still has quite a bit of "dojo-thi…

Since version 1.6, "data-dojo-attr='foo'" is preferred; "dojoAttr='foo'" will not be supported in 2.0 [1][2].

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...

Re: Dojo JavaScript Toolkit 1.8 Released

#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] https://github.com/Leftium/todo.html

[2] https://github.com/Leftium/dojo-boilerplate

[3] http://dojotoolkit.org/blog/introducing-the-new-dojo-web-bui...

Re: Dojo JavaScript Toolkit 1.8 Released

#27
post #10

I'll just leave this here: http://maqetta.org/

Aside from the fact that it's hosted by the Dojo Foundation, why?

It makes Dojo more compelling.

If you don't think that WYSIWYG IDEs are useful, then that's fine, but some do, and I thought I'd share.

Re: Dojo JavaScript Toolkit 1.8 Released

#29
post #26

I tested Sencha, jQuery Mobile and Dojo 1.7 and 1.8 a week ago with my Nexus phone -> Dojo 1.8 wins clearly when it comes to performace of touch events and transitions :)

I read your comment and tested it myself. I was actually very disappointed with Sencha and especially JQuery Mobile's performance but seems like dojo actually got it right.

Re: Dojo JavaScript Toolkit 1.8 Released

#30
post #14

Earlier quoted context omitted.

I recently did a project using Dojo (1.7) and my coworker told me that it 'lost the war' against jQuery. Having worked with it, the documentation was absolutely horrid (which they no claim to have somewhat resolved). As for popularity, it is a Catch-22 - it's not used very often and so no one is willing to learn it and people don't learn it, so it's not used very often. From the same website showing jQuery is on 50%…

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 warrant switching frameworks.

Post reply on HN