4

Using Dojo Widgets

There is nothing worse than a sharp image of a fuzzy concept.

—Ansel Adams

For better or worse, the Web is a strong visual medium. A web page is a collection of visual elements that allow the user to view and manipulate information whose best presentation fits the right widget to the right data. In other words, the information cries out to be displayed in the correct form. Unfortunately, standard HTML only provides a small set of options for displaying data. Dojo expands our possibilities by providing a robust set of visual elements, called widgets, which offers us a much richer palette to choose from for bringing the data and features of our applications to life.

4.1. Adding Dojo Widgets to the Page

Web developers are looking ...

Get Dojo: Using the Dojo JavaScript Library to Build Ajax Applications now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.