Live data from Hacker News

Dojo JavaScript Toolkit 1.8 Released

dojotoolkit.org

11–20 of 33 posts

Re: Dojo JavaScript Toolkit 1.8 Released

#12
post #7
post #5

Earlier quoted context omitted.

"jQuery is primarily a JavaScript library for doing DOM manipulation, Ajax, events, and effects. Dojo is a more comprehensive toolkit that offers those same features, but also includes many other pieces that facilitate building rich web applications, such as patterns for code organization, tools for abstracting data syncing between server and browser, internationalization, accessibility, templated widgets, graphing a…

Check out the new docs. I think it's no longer reasonable to say Dojo lacks good docs or reference code. 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.

The tutorial section looks much improved over previous visits - good job.

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.

Re: Dojo JavaScript Toolkit 1.8 Released

#14
post #6

Earlier quoted context omitted.

The second question is something I also can't find an answer to.

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% of websites now, you can see that Dojo is absolutely abysmal in popularity and usage:

http://w3techs.com/technologies/overview/javascript_library/...

Re: Dojo JavaScript Toolkit 1.8 Released

#15
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…

I've spent almost a year combined working with dojo on a large project and I have to say that in some ways I totally disagree with you and in some ways, man are you right. In general dojo is clunky and unintuitive compared with jquery and their docs royally sucks. Also there are real api inconsistensies. On the other hand jquery-ui, backbone views, etc all pale in comparison to how badass dojo's dijits are. I really want someone to write something like dijits for jquery so we can all have our cake and eat it too.

Re: Dojo JavaScript Toolkit 1.8 Released

#16
post #7

Earlier quoted context omitted.

Check out the new docs. I think it's no longer reasonable to say Dojo lacks good docs or reference code. 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.

The tutorial section looks much improved over previous visits - good job. 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 p…

Point 1. is indeed a "uncomfortable" part of dojo. Getting started is difficult. For a lot of demo and hello world like apps CDN version is fine, assuming they are only using the modules packaged into dojo.js on CDN. If you start using other modules, then you will soon see a escalating number of HTTP requests, and for this reason using CDN version for production is bad idea.

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.

Re: Dojo JavaScript Toolkit 1.8 Released

#17
Dojo is rather past its prime, because of increasing browser support for CSS3 and HTML5 features. Better support for native language capabilities like map/reduce/filter/indexOf in arrays also have siginifact impact.

Dojo is my primary js framework, I prefer it over jQuery, because it's more strict.

Re: Dojo JavaScript Toolkit 1.8 Released

#18
I passed on a 6 month contract job using Dojo back in December. I really didn't want to do the deep dive for a 6 month contract as I figure it would have taken quite a bit of time to really get up to speed with Dojo. Wasn't convinced I'd ever use it again, either as I don't even see Dojo jobs out there. Granted, I don't look all the time, but it's jQuery and nowadays some flavor of JS MV* being asked for.

Had lunch with my recruiter last week and asked if they're still looking to place that position. She said yes (9 months after I turned it down!) If it were a longer gig, I might have taken it, but 6 months, I'll pass.

Re: Dojo JavaScript Toolkit 1.8 Released

#19
I didn't think much of Dojo previously, but then I had the need to create a web app with dynamic SVG for the interface, that would be a pain to do with DOM+CSS. I searched for libraries that could help me, I tried RaphaelJS but rejected it for the lack of support for the element. In the end the best library I found is Dojox/GFX, which also can render to SVG, VML, Silverlight and even Canvas!

I have yet to start producing the app, but Dojo really deserves more attention.

Re: Dojo JavaScript Toolkit 1.8 Released

#20
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-this='foo'".
Post reply on HN