Posts Tagged ‘Widgets’

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

Making a translatable login form

Today I’m going to show you how to use dojo’s built in translation system. For this example, I’m going to make a simple login form widget, that we can translate into both english and spanish (and other languages, if we choose). This form will also validate what the user puts into the form, and inject what the user inputted into the translated text itself.
Read the rest of this entry »

Read more

What is a _Widget

There has never been a more generic term than “widget”. As a teen in economics class our theoretical compaines sold widgets, and almost anything on earth without description falls into a “thinger” category … I’m here to give API stability to the word “widget”, and poke around the idea of “template” in Dojo. I will call it Dijit.

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 »