Beginners

Read more

Dojo DTL Basics

In this tutorial I want to show you the basics of using the extremely powerful templating language DTL when writing your own custom widgets. Dijit already comes with a powerful template mechanism dijit._Templated but sometimes you need a bit more flexibility - dojox.dtl is exactly what you need in those cases.
Read the rest of this entry »

Read more

Separating Content from Presentation the Dojo Way

One of the cool things about Dojo is the dojo.xhrGet() function. It’s powerful because it makes transparent the browser dependent transports that make AJAX possible. In this cookie, we’re going to explore a simple use case in Dojo to separate content from the presentation of a page. This means that if you want to update some content of a specific portion of a page, you may not want to require the user to ‘refresh’ the entire page to see the new content. Read the rest of this entry »

Read more

Dojo and Air, a fancy file uploader

How many times have you had trouble uploading files to your favorite CMS? How many times did a client say “I am not happy with uploading one file at a time”? And last but not least, how many times did you implement a third party plugin/software/piece of magic to implement efficient file uploading?
Read the rest of this entry »

Read more

No end to rounded corners

After the last tutorial on how to make fancy rounded tabs, I thought it might be interesting to take a look on how to make a widget which lets you transform a simple “div” into a nice looking one with rounded corners and flexible width/height, using just one image.
Read the rest of this entry »

Read more

The dojo.moj.oe

As I mentioned in the dojo.moj.oe blog entry, I have every intention of fully tutorial-izing the demo. To continue from where we left off with the topic cookie and simultaneously start a series of small tutorials, I present to you: Mojo part I

Read the rest of this entry »