|
Consider a wizard that steps the user through the
registration for a frequent user program for
restaurants. Given a database that holds data about
hundreds of restaurants all over the world, it would
be impossible to create a one-time list of all those
restaurants, the cuisine they carry and their price
ranges and any other information that the user may
need to make decisions along the way. A better
approach would be a wizard that asks the user for
his/her address in the first step, the types of
cuisine in the second, available local restaurants of
those chosen cuisine in the third and so on. While
steps 1 and 2 can be achieved via Type 2 operations,
the list of restaurants of a chosen cuisine-group can
only be generated via data processing on the server.
So the best mechanism would be to build two pages
using the Type 2 capabilities described in the next
section and then pass the choices back to the server
to retrieve, from the database, relevant restaurants.
|