By "predictive spell-ahead" are you referring to something like Google
suggest? This is done through AJAX. With every keystroke, a request is
made to the server for a list of suggestions. The server provides the data
in XML format, or even more commonly in JSON format, which can be
interpreted directly by JavaScript and rendered within the browser.
Typically, it is the browser making the request to the server, not the other
way around. One way to make the server "push" the data to the browser
without the user taking any action would be to poll for the data every so
often. We have done this in a number of browser applications.
Alex Roytman
Profound Logic Software, Inc.
http://www.profoundlogic.com
Modernization Made Easy
-------------- Original Message --------------
date: Wed, 24 Sep 2008 17:43:45 -0500
from: <elehti@xxxxxxxxxxxxxxxxxx>
subject: [WEB400] push data from server to client web browser
Any of you pushing data from server to client web browser? We want to
push data from our System i to browser-based executive dashboard, and
display ten rows of data from a DB2 table on our System i.
Evidently it is possible, as I found that Google already had this in
their predictive spell-ahead: "push data from server to client"
Lots of explanation at
http://en.wikipedia.org/wiki/Push_technology
including a link to chapter 6 of the O'Reilly book on doing server push
with CGI programming.
Push technology, or server push, describes a style of Internet-based
communication where the request for a given transaction originates with
the publisher or central server. It is contrasted with pull technology,
where the request for the transmission of information originates with
the receiver or client. The wikipedia article pointed to this CGI
explanation in
http://oreilly.com/openbook/cgi/ch06_06.html
Eric Lehti (918) 879-6036 direct; (918) 292-9142 mobile
As an Amazon Associate we earn from qualifying purchases.