Beginners

Read more

Separating Content from Presentation the Dojo Way

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

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

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

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 »


Read more

Preface to DnD: topics

This is a quick cookie to cover a really cool topic. Custom events and Dom Events are all well and good for method-to-method functionality. It is a really common use case to connect some event happening to call another function, but when you get into really ambiguous, large applications, you need some mechanism to just say "hey, something has happened, act accordingly" ... dojo.publish and dojo.subscribe provide just that mechanism.

Read the rest of this entry »