Live data from Hacker News

Dojo Toolkit 1.7 Released.

dojotoolkit.org

21–30 of 34 posts

Re: Dojo Toolkit 1.7 Released.

#21
post #20
post #19

Earlier quoted context omitted.

Havre you looked into the dojo build system? That's how you make your single minified js file. Pretty straightforward, I think? http://dojotoolkit.org/reference-guide/build/

Yep, but sadly I've made a few attempts and failed miserably. Perhaps I'm too spoiled by jQuery UI Builder. I'd much rather prefer something like this where I can just pick the widgets I know I'm using: http://jqueryui.com/download

http://build.dojotoolkit.org/ should soon be updated for 1.7. The CDN will be available asap.

Re: Dojo Toolkit 1.7 Released.

#22
post #20
post #19

Earlier quoted context omitted.

Havre you looked into the dojo build system? That's how you make your single minified js file. Pretty straightforward, I think? http://dojotoolkit.org/reference-guide/build/

Yep, but sadly I've made a few attempts and failed miserably. Perhaps I'm too spoiled by jQuery UI Builder. I'd much rather prefer something like this where I can just pick the widgets I know I'm using: http://jqueryui.com/download

Have a look at http://build.dojotoolkit.org/ (though I never used it myself, I'm using their command line build tool).

Re: Dojo Toolkit 1.7 Released.

#23
post #10
post #2

And not a single fuck was given. Does anyone actually think dojo has a future compared to the power that jquery gives to make your own "widgets" but far simpler than dojo? The simplest tutorials in the dojo documentation put html tags in the JavaScript code. Generating them like strings. It reminds me of the days when people would generate html (and javascript, oh god) using Java. Dojo is too big, too complicated and…

Dojo gets a lot of use in the corporate world because it's so complete, particularly in terms of GUI widgets. I always use jQuery myself, but I'm still not satisfied with any of the jQuery grid components, for example. It's disappointing.

You might be interested in the dgrid project (see slides at http://www.slideshare.net/sitepen/dgrid-next-generation-dojo... and blog post at http://www.sitepen.com/blog/2011/10/26/introducing-the-next-... ). It's a new module, and one of the interesting features is support for the jQuery ThemeRoller classes. It's pretty lightweight, and could be used with jQuery with something like RequireJS, etc.

Re: Dojo Toolkit 1.7 Released.

#24
post #20

Earlier quoted context omitted.

Yep, but sadly I've made a few attempts and failed miserably. Perhaps I'm too spoiled by jQuery UI Builder. I'd much rather prefer something like this where I can just pick the widgets I know I'm using: http://jqueryui.com/download

http://build.dojotoolkit.org/ should soon be updated for 1.7. The CDN will be available asap.

Wow, thank you! How did I miss this? You have no idea how happy this made me.

Re: Dojo Toolkit 1.7 Released.

#25
post #19
post #16

Fantastic! I'm literally working right now on a large application that uses Dojo 1.6 extensively. I must say that I'm overall impressed with the framework. The selection and flexibility of the widgets is great. I've done plenty of jQuery UI in the past and I'm honestly done with it until they get some consistency issues resolved. Dojo definitely fills a need. But, I wish Dojo was still a bit more straightforward to p…

Havre you looked into the dojo build system? That's how you make your single minified js file. Pretty straightforward, I think? http://dojotoolkit.org/reference-guide/build/

Pretty starightfoward until you hit a hard-to-google for problem. Yesterday my build process was crashing because I used Windows backslashes in a command line argument instead of the Unix slashes that it expected :(

Re: Dojo Toolkit 1.7 Released.

#26
post #18

Earlier quoted context omitted.

While I'd agree that the documentation could really use an overhaul, once you figure out what the "modern" way to use it is - I've found it to be none of the things which you describe it. I recently implemented an application on the 1.6 version of Dojo, and found it pretty easy to set things up using an MVC pattern which, while I could have implemented myself in JQuery, would have taken longer and wouldn't have been…

Yes, there is seemingly a lot of documentation, each part of which describing about 80% of what you need to know. They've put a lot of effort into it, I think, yet it needs more effort. Since I haven't contributed to that effort, I can't complain. My advice: just read the source code. I wish you could just read the docs and understand the semantics of every api, but I finally realized that, if I cannot google the ans…

There is also the problem of having the documentation being "split" whenever there is more then one way to do something (say declarative vs programatic widgets) or there has been a major API upgrade (say AMD modules or the ObjectStores) so you also need to learn to convert from one to the other.

Re: Dojo Toolkit 1.7 Released.

#27
post #4
post #3

Earlier quoted context omitted.

It's true, the docs aren't exactly good (and there are like, 3 versions of it floating around - which one to reference?). But it doesn't sound like you've actually used Dojo. It's neither big, complicated or bloated. Things ARE modularized, and the core has a lot of bits that are useful outside a browser environment. If you look at jQuery, the whole thing targets being run in a browser. Dojo base has a lot of languag…

Ive used it against my wish, but it may be also because of inexperience with it which makes me judge so badly. I could have done what I was doing in jQuery far more faster and effecient, and the resulting code would have been easier to maintain for many other developers. Very few know dojo. Also the idea of "dojoAttachPoint" as an attribute on basically any tag is questionable. If I recall only the latest html spec a…

HTML validation is overrated. Lots of HTML5 features, like data attributes and the shorter doctype, where there all along and just happend to be standardized now.

Re: Dojo Toolkit 1.7 Released.

#28
post #2

And not a single fuck was given. Does anyone actually think dojo has a future compared to the power that jquery gives to make your own "widgets" but far simpler than dojo? The simplest tutorials in the dojo documentation put html tags in the JavaScript code. Generating them like strings. It reminds me of the days when people would generate html (and javascript, oh god) using Java. Dojo is too big, too complicated and…

> Does anyone actually think dojo has a future compared to the power that jquery gives to make your own "widgets" but far simpler than dojo? It really depends on what you're trying to do, I suspect. I'm on the jQuery core team and it's nice to have a lot of people building off our work. > The simplest tutorials in the dojo documentation put html tags in the JavaScript code. Generating them like strings. Yes, simple d…

Most apps I worked on required only querying and events. Animations can be done with css3, but if we wherent working with html5 then simple fadein/out animations are also required.

Specifically dojo has this useless dijit widget collection. For any serious web app I doubt you would find dijit suitable to exactly your needs. Which means you have to develop your own using the query/animation/events api.

Re: Dojo Toolkit 1.7 Released.

#29
post #17
post #4

Earlier quoted context omitted.

Ive used it against my wish, but it may be also because of inexperience with it which makes me judge so badly. I could have done what I was doing in jQuery far more faster and effecient, and the resulting code would have been easier to maintain for many other developers. Very few know dojo. Also the idea of "dojoAttachPoint" as an attribute on basically any tag is questionable. If I recall only the latest html spec a…

data-blah is HTML 5 legal and dojo is changing its patterns to use it. dojoAttachPoint is an attribute dojo uses in widget templates. I don't really know what you would propose to replace it (except data-attachPoint, say). If you're going to design a tempting system you need a binding mechanism, and that's what dojo does. You can't complain too much about abusing the liberty HTML has always allowed with unrecognized…

Because I, for one, would like to keep my HTML separate from my Javascript.

Separate looks and from behaviour. The HTML is created already from another templating system server-side, its a pure hell to introduce HTML from Javascript and mix it.

Re: Dojo Toolkit 1.7 Released.

#30

Earlier quoted context omitted.

> Does anyone actually think dojo has a future compared to the power that jquery gives to make your own "widgets" but far simpler than dojo? It really depends on what you're trying to do, I suspect. I'm on the jQuery core team and it's nice to have a lot of people building off our work. > The simplest tutorials in the dojo documentation put html tags in the JavaScript code. Generating them like strings. Yes, simple d…

Most apps I worked on required only querying and events. Animations can be done with css3, but if we wherent working with html5 then simple fadein/out animations are also required. Specifically dojo has this useless dijit widget collection. For any serious web app I doubt you would find dijit suitable to exactly your needs. Which means you have to develop your own using the query/animation/events api.

"Most apps I worked on required only querying and events."

Well, that's not really quite the background to call the dojo widgets useless. They are a really useful set of _programmable_ widgets.

Aye, they _might_ appear to be useless to developers used to cut & paste, but if you delve a little deeper you will discover a world of useful UI widgets that can fulfill most of your needs for rich web applications.

If your needs aren't fulfilled with the provided widgets you can always make your own or modify the existing ones with the tools provided, that I must say are great at it.

Post reply on HN