Hi All,
I wanted to know how does behind the scene technology works when we see stocks streaming on websites like CNN or CNBC.
I believe its an applet but would highly appreciate some detail explanations.
Thanks.
Hi All,
I wanted to know how does behind the scene technology works when we see stocks streaming on websites like CNN or CNBC.
I believe its an applet but would highly appreciate some detail explanations.
Thanks.
There's no need for an applet. Those quotes are the time-delayed quotes (15-20minutes old) A simple AJAX query is all that is necessary to grab a whole bunch of quotes every minute or so.
Your browser makes an Asynchronous http request to the CNN webserver, and some javascript on your PC implements a scrolling div or similar to show the data. Before the data runs out, the browser makes another query to get more data.
No need for an applet. You could use Flash to do the same thing, but it's not necessary.