Re: Using DHTML to quickly display pages of database records

by "Srinivasan Ramakrishnan" <srinivar(at)md3.vsnl.net.in>

 Date:  Thu, 1 Feb 2001 22:39:36 +0530
 To:  <hwg-languages(at)mail.hwg.org>,
<MEovino(at)Estes-Express.com>
 References:  express
  todo: View Thread, Original
Hi,

No doubt it is possible on any browser that supports layers, namely IE4+ &
NN4+, however the idea is a bit strange since one fetches only 10 records at
a time to save on the wait time of the client.

If you have 100 records then even the first 10 records can't be displayed
until all the 100 records are downloaded to the client. If you are sure you
want this and aesthetics are important fine, but if you anyway want the
client to wait for all the 100 records do away with the DHTML use plain
HTML, let him scroll down, it may not be "cool" but at least he gets to see
the records as they download.

With DHTML the JS execution takes place only when the whole page has been
loaded.

I know others have already contributed code, so I won't.

Just my 2 bits.

-Srini






----- Original Message -----
From: <MEovino(at)Estes-Express.com>
To: <hwg-languages(at)mail.hwg.org>
Sent: Wednesday, January 31, 2001 8:23 PM
Subject: Using DHTML to quickly display pages of database records


:
: I have a CGI application that looks up records out of a database and
: returns them to the browser, nicely formatted.  Right now, show them ten
at
: a time, with buttons to move forward and backward through the list.
: Clicking the button re-runs the CGI returning the next 10 or previous 10
: records.  Is there any way I can get all of the records at once and use
: DHTML to show and navigate through the pages, eliminating the need to go
: back to the server every time to get more records?
:
: This only needs to work in IE 5.x, although if it works in other browsers
: with no modifications, that would be fine.
:
: Can anyone point me to a resource or tutorial explaining this?
:
: Thanks in advance!
: Mike Eovino
: E-commerce and Customer Development Manager
: Estes Express Lines
: http://www.estes-express.com
:
: The views, opinions, and judgments expressed in this message are solely
: those of the author.  The message contents have not been reviewed or
: approved by Estes Express Lines
:
: This communication is confidential and is intended to be privileged.  If
: there is a problem with this transmission, please contact the sender.  If
: the reader of this message is not the intended recipient, or the employee
: or agent responsible to deliver it to the intended recipient, you are
: hereby notified that any dissemination, distribution or copying of this
: communication is strictly prohibited.
:
:

HWG: hwg-languages mailing list archives, maintained by Webmasters @ IWA