Creating Web pages with HTML can be time consuming, so it's critical to
create generic visual components that can easily be reused. This will give
you a consistent look and feel throughout your application. You'll be able to
add new functionality at one location and make it available across multiple
Web pages, which can save you a lot of time.
Creating Reusable Visual Components
In order to create reusable visual components, it's important to create
generic stylesheets and JavaScript routines. The stylesheets can be used to
display tabular data in a grid format, or menus to navigate your Web
application (e.g., WebGrid.xsl, WebMenu.xsl). Even though these examples will
show you how to build reusable tabular pages and menus, the same ideas can be
used to generate any common type of Web page.
The reusable stylesheet to display tabular (grid) data, WebGrid.xsl, should:
1.... (more)