Dojo Layout Widgets

The world is but a canvas to the imagination.

—Henry David Thoreau

The blank web page is the empty canvas on which you paint your application. Your brush is HTML markup, and your paint is the various widgets available to you. But layout without structure is chaos. We need a way to organize the visual elements of our site into a form that has meaning. The various layout widgets provided by Dojo give us that structure by providing organized containers into which we pour our content. In this chapter, we explore the various layout widgets provided in Dijit and try to understand the proper use of each.

8.1. Understanding Page Layout

For many years, the standard technique for laying out a web page was to create a table with rows ...

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

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.