Kyle Hayes

Tech, Musings, Life

5 Easy Tutorials for Advanced JavaScript Using Dojo

| Comments

I’ve been using Dojo a lot lately and have really gotten knee deep in development with it. Best of all, it is so easy to do so. The number one thing I’ve noticed is that the community is great–very approachable and they really know what they are talking about. These are true programmers who love what they do, and it shows in this toolkit.

The Dojo Campus provides a wealth of documentation, tutorials for all levels, Dojo Cookies (kind of like recipes), and demos of cool features.

Below are just a handful of tutorials that are available to beginners in Dojo that really help you get started.

  1. 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? View tutorial >>
  2. Fancy Rounded Corners Make great looking rounded corners on your elements using only a single image. View tutorial >>
  3. Easily listen for events 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. View tutorial >>
  4. Rounded tabs with themes Everybody likes rounded buttons, rounded page elements and last but not least, rounded tabs. Fortunately dijit comes with great theming possibilities, so I will show you how you can make your own fancy rounded tabs using a simple image sprite and a couple of CSS classes. View tutorial >>
  5. Separating Content from Presentation 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. View tutorial >>

Comments