
The Patterns 143
All other pages or windows should also share the following, as appropriate:
• “You are here” signposts, such as titles, logos,
Breadcrumb trails, global navigation
with indicators of the current page, and
Module Tabs
• Navigational devices, including global and utility navigation, OK/Cancel buttons,
Back buttons, Quit or Exit buttons, and navigational patterns such as
Sequence Map
and
Breadcrumbs (all in Chapter 3)
• Techniques used to define
Titled Sections
• Spacing and alignment, including page margins, line spacing, the gaps between labels
and their associated controls, and text and label justification
• Overall layout, or the placement of things on the page, in columns and/or rows, tak-
ing into account the margins and spacing issues listed previously
If you’re familiar with graphic design concepts, you may recognize some of these tech-
niques as comprising a layout grid. A layout grid is a structural template for a set of pages
or layouts. Each individual page is different, but all use specified margins and align their
contents along invisible gridlines. A good
Visual Framework does indeed include a layout
grid, but it also includes other aspects of look-and-feel such as colors, visual details, and
writing style.
Implementation of a
Visual Framework should force you to separate stylistic aspects of the
UI from the content. This isn’t a bad thing. If you define the framework in only one
place—such as a CSS stylesheet or a Java class—it lets you change the framework inde-
pendently from the content, which means you can tweak it and get it right more easily. (It’s
also good software engineering practice.)
Examples
JetBlue’s site employs a restricted color palette, a strong header, and consistent use of fonts
and curved rectangles in its
Visual Framework (see Figure 4-16). Even the login page and
modal dialogs use these elements; they don’t look out of place.
In the same way, TED’s site uses limited color and a layout grid to maintain consistency
(see Figure 4-17). It has an interesting problem that’s more common than it might appear:
its subsidiary or related sites (such as its blog and its conference site) must look somewhat
like the main TED site, but still have distinct visual identities. In this case, the two related
sites share most of their framework elements with the TED site, with some key differences
(see Figure 4-18).