Book Image

Learning Dojo

By : Peter Svensson
Book Image

Learning Dojo

By: Peter Svensson

Overview of this book

<p>Dojo is a popular AJAX-specific open-source JavaScript framework for building powerful web applications. It provides a well conceived API and set of tools to assist you and fix the issues experienced in everyday web development. Your project size is no concern while using Dojo. It is the best scalable solution to all your size-related issues.<br /> <br />This book starts by giving you tips and tricks for programming with JavaScript. These tricks will help you with Dojo. With every chapter, you will learn advanced JavaScript techniques. You will learn to leverage Dojo for a clean web application architecture using JSON or XML.</p>
Table of Contents (13 chapters)
Learning Dojo
Credits
About the Author
About the Reviewer
Preface
Free Chapter
1
Introduction to Dojo

What's in the fridge? A smorgasbord of tasty Dijits


Most Dijits reside under the dijit subdirectory of your Dojo installation. Some reside under dojox, though, because they are in beta, or recently contributed to Dojo and not yet completely tested. Here is a fairly thorough list (for Dojo 1.1.0) that you can use as an inspiring starting point:

Dijit

Comment

dijit.ColorPalette

A simple color picker. For more advanced use, I recommend the recently introduced dojox.ColorPicker, mentioned further down.

dijit.Dialog

A modal dialog widget which is initially hidden, together with its content. Will "dim" the rest of the screen when shown.

dijit.Editor

An advanced editor, which sports a large toolbar and support indents, lists, fonts, and more. It can return its content as either HTML or text.

diit.InlineEditBox

The famous inline editing widget. Only shows a small editing area for parts of a text when called for, otherwise hides.

dijit.Menu

Normally used as either a vertical...