SUN的《AJAX与J2EE》全文译了

2019-06-03 05:49:33王冬梅


  Some   uses   for   AJAX   interactions   are   the   following:     
  Real-Time   Form   Data   Validation:   Form   data   such   as   user   IDs,   serial   numbers,   postal   codes,   or   even   special   coupon   codes   that   require   server-side   validation   can   be   validated   in   a   form   before   the   user   submits   a   form.     
  Autocompletion:   A   specific   portion   of   form   data   such   as   an   email   address,   name,   or   city   name   may   be   autocompleted   as   the   user   types.     
  Master   Details   Operations:   Based   on   a   client   event,   an   HTML   page   can   fetch   more   detailed   information   on   data   such   as   a   product   listing   that   enables   the   client   to   view   the   individual   product   information   without   refreshing   the   page.     
  Sophisticated   User   Interface   Controls:   Controls   such   as   tree   controls,   menus,   and   progress   bars   may   be   provided   that   do   not   require   page   refreshes.     
  Refreshing   Data   on   the   Page:   HTML   pages   may   poll   data   from   a   server   for   up-to-date   data   such   as   scores,   stock   quotes,   weather,   or   application-specific   data.