Win a copy of React Cookbook: Recipes for Mastering the React Framework this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Rob Spoor
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Tim Cooke
Saloon Keepers:
  • Tim Holloway
  • Piet Souris
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Frits Walraven
  • Himai Minh

DOJO Documentation

 
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Does anybody know a good place for DOJO documentation. All the stuff I find on the web is absolutely worthless.
 
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
By "the web" do you mean places other than the normal Dojo documentation and examples? I've found them mostly adequate. There are also a couple of books.
 
Mike Firkser
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I've tried Dojotoolkit and dojocampus and find them very frustrating to use and quite incomplete. For instance, they'll list the various methods for a class, but not the arguments to pass, or show how it's used. Most of what I learn seems to be by hit and miss, which takes a lot of time for a framework that claims to be great for quick development.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't understand; when I look at the Dojo documentation it seems like most things have pretty complete info along with type information for functions, along with tabs for different Dojo versions. Can you give an example?
 
Mike Firkser
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
For instance I go to http://www.dojotoolkit.org/api/dijit/form/DateTextBox.html#format to try to figure out a format for the DateTextBox. It tells me I need to pass constraints, but nothing how they should be formatted, or how to format them or anything.
 
David Newton
Author
Posts: 12617
IntelliJ IDE Ruby
 
Ranch Hand
Posts: 15304
6
Mac OS X IntelliJ IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Wow, it's like that game..."6 degrees of Kevin Bacon" but with DOJO documentation. Sweet. Can I play?
 
Mike Firkser
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now I'm trying to reset a field. The "documentation" says there is a reset() function, but my browser says that the object (IE 7) doesn't have it, nor does the regular <form> can't be reset. The more I check out DOJO, the more I hate it. It is quickly approaching Crystal Report status with me (I can go on for days about my "love" of crustal).
 
Sheriff
Posts: 67583
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Online docs will always have their limitations. Even jQuery's documentation, which is pretty danged good as online docs go, come up lacking in many respects.

But that's ok with me -- it makes books so much more useful!
 
Mike Firkser
Ranch Hand
Posts: 249
Oracle Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Here at my office, whenever I grab one of my books, I get a "why do you use a book when you can find it online" comment from one of the kids here.
 
Bear Bibeault
Sheriff
Posts: 67583
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Kids! What can you do with them!
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
David, can you help me out as well?

I'm looking at the highlight function in graphs: http://api.dojotoolkit.org/jsdoc/1.3.2/dojox.charting.action2d.Highlight

It states that its usage is:

"chart" and "plot" I get. But what are "kwArgs" in this scenario? Where do I find them? I want to have a highlight with a transparent color, but I can't find what kwArgs should be in order to do so.
 
Ranch Hand
Posts: 2234
Eclipse IDE Firefox Browser Redhat
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Most worst thing of Dojo is of versions , when a newbie runs a sample program he doesn't know in what version of dojo file those functions are present .

Please see the attachment right now i am facing this .
DOJOError.jpeg
[Thumbnail for DOJOError.jpeg]
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic