1、外文原文 Developing applications with Tiles Leveraging layouts Usability is a prime concern in the design of todays applicationsand consistency is a prime ingredient of usability. Users want to stay focused on the task at hand and are easily annoyed by any small inconsistency in an applications interfac
2、e or screen layout. Consistency is no small challenge for a dynamic web application; it is commonplace for each page to be coded by hand. Layout tools for static pages are available to most designers today, but few of these are available to applications based on JavaServer Pages. Worse, the look and
3、 feel of an application is usually the last detail to be finalized, and then it will often change between versionsor even arbitrarily as part of a greater website “relaunch.” This can create a nightmarish round of last-minute coding and testingeven if only to alter the background color or add a new
4、link to the menu bar. Of course, consistency is more than a hobgoblin; its a hallmark of good design. Like any other component, web pages contain many common elements, headers, footers, menus, and so forth. Often, these are cut-and-pasted from one page to the next. But like any component, bugs are found and features are enhanced, leading to another round of cut-and-paste “reuse.” In a web application, page markup is a programming component like any other and should be held to the same stan