Because we only retrieve and return the rows needed for the
current page of rendering from the database, and because we only use a single
database call to retrieve all of the data for the product-listing page, the
execution of the page should be very, very fast and scalable (even when you
have thousands of results). As you can see above, the code to implement
this is pretty small and clean.
Because we are using standard navigational HTTP GET requests
everywhere in the sample, no client-script is needed or emitted on the page (do
a view-source in the browser and you’ll notice there isn’t a single line of javascript
anywhere on the page). All markup in the sample is also XHTML compliant and
cross-browser.
I used FireFox for all the screen-shots above – but
obviously it also works with IE.
Hope this helps,
Scott