Previous Page
Next Page

Chapter 10. Speeding Up Data Display

In this chapter

10.1 Overview of the Sun Rise and Set Data Viewer

page 218

10.2 Building the Non-AJAX Version of the Sun Rise and Set Viewer

page 220

10.3 Problems with the Non-AJAX Viewer

page 232

10.4 Improving Viewing with AJAX

page 234

10.5 Summary

page 247

A common Web development task is showing large data sets. To navigate through the dataset, the user is forced to reload the entire Web page, which makes data browsing a slow process. The example we will build in this chapter is a graph of the time the sun rises and sets for different cities. It will also include a table showing the data from which it's built; this data browsing is especially handicapped by the constant reload process. The actual graph generation is a slow process, and because it shows data for the entire year, it doesn't need to be updated as you look through the data month by month. In this chapter, I will show how you can use the AJAX technique of subpages to greatly speed up data browsing.

Previous Page
Next Page