Click here to get back home

Realtime data in a web page

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Realtime data in a web page Borked Pseudo Mailed 03-10-2008
Posted by Borked Pseudo Mailed on March 10, 2008, 2:32 pm
Please log in for more thread options
We have a network based data aquisition box that connects
via LAN. The user uses a web browser to see the data.
Currently, the data is updated when the user refreshes the
browser. I want to display the data at about 1 update per
second, and so far I have read about three possible solutions.
One is Flash, which is over kill. Then there is AJAX which is
designed to do this task, but it looks like there are some
differences between browsers which will complicate the code.
The other choice is a roll-my-own concept like AJAX, but not
using the XML-HTTP Request.

My question is if my understanding is correct, and is there
any guidance from those that may have done something like this
recently?

Dave,
---
e-mail: d boland 9 (all 1 word) at fastmail period fm


Posted by David E. Ross on March 10, 2008, 2:42 pm
Please log in for more thread options
On 3/10/2008 10:32 AM, Borked Pseudo Mailed wrote:
> We have a network based data aquisition box that connects
> via LAN. The user uses a web browser to see the data.
> Currently, the data is updated when the user refreshes the
> browser. I want to display the data at about 1 update per
> second, and so far I have read about three possible solutions.
> One is Flash, which is over kill. Then there is AJAX which is
> designed to do this task, but it looks like there are some
> differences between browsers which will complicate the code.
> The other choice is a roll-my-own concept like AJAX, but not
> using the XML-HTTP Request.
>
> My question is if my understanding is correct, and is there
> any guidance from those that may have done something like this
> recently?
>
> Dave,
> ---
> e-mail: d boland 9 (all 1 word) at fastmail period fm
>

See if you can find out how Yahoo updates their stock quotes at
<http://finance.yahoo.com/>. I suspect this is done with JavaScript
because the updates don't happen when I disable JavaScript.

--
David Ross
<http://www.rossde.com/>

Have you been using Netscape and now feel abandoned by AOL?
Then use SeaMonkey. Go to <http://www.seamonkey-project.org/>.

Posted by Ed Jay on March 10, 2008, 2:46 pm
Please log in for more thread options
Borked Pseudo Mailed scribed:

>We have a network based data aquisition box that connects
>via LAN. The user uses a web browser to see the data.
>Currently, the data is updated when the user refreshes the
>browser. I want to display the data at about 1 update per
>second, and so far I have read about three possible solutions.
>One is Flash, which is over kill. Then there is AJAX which is
>designed to do this task, but it looks like there are some
>differences between browsers which will complicate the code.
>The other choice is a roll-my-own concept like AJAX, but not
>using the XML-HTTP Request.
>
>My question is if my understanding is correct, and is there
>any guidance from those that may have done something like this
>recently?
>
If you want the entire page refreshed after one second, put this in the head
of your document: <meta http-equiv="refresh" content="1">
--
Ed Jay (remove 'M' to respond by email)

Posted by Petr Vileta on March 11, 2008, 1:07 am
Please log in for more thread options
Borked Pseudo Mailed wrote:
> We have a network based data aquisition box that connects
> via LAN. The user uses a web browser to see the data.
> Currently, the data is updated when the user refreshes the
> browser. I want to display the data at about 1 update per
> second, and so far I have read about three possible solutions.
> One is Flash, which is over kill. Then there is AJAX which is
> designed to do this task, but it looks like there are some
> differences between browsers which will complicate the code.
> The other choice is a roll-my-own concept like AJAX, but not
> using the XML-HTTP Request.
>
> My question is if my understanding is correct, and is there
> any guidance from those that may have done something like this
> recently?
>

Dave, if you want to show data only without accent to design then you can use
two other ways.
1) Java applet (ActiveX)
2) Perl/Tk script or compiled to Windows executable.

If you never see Perl/Tk application and you have Windows then you can
download and test some of my freeware
http://www.download.com/Petr-Vileta-Practisoft/3260-20_4-6288188.html

--
Petr Vileta, Czech republic
(My server rejects all messages from Yahoo and Hotmail. Send me your
mail from another non-spammer site please.)

Please reply to <petr AT practisoft DOT cz>


Posted by Andy Dingley on March 11, 2008, 10:37 am
Please log in for more thread options
wrote:

> Currently, the data is updated when the user refreshes the
> browser. I want to display the data at about 1 update per
> second, and so far I have read about three possible solutions.

AJAX

+ Well-trodden path, with clear advice on how to hide the browser
dependencies behind a facade. XMLHttpRequest is your friend (and there
are alternatives for when it isn't your particular browser's friend).

+ Good appearance, with a page container that's stable and just a
content window that need change.

+ Ability to accept small-volume XML and transform it locally. This
can make integration with data sources easier.

+ Less technically ugly then frames, iframes, meta-refresh etc.

- Requires client-side JS


I'd suggest using "raw" AJAX, i.e. writing (or downloading) all the
client-side code yourself, rather than using a dynamically-generated
page with a server-side AJAX framework.


Similar ThreadsPosted
data from one web page to another? October 25, 2004, 7:39 pm
Data January 19, 2005, 5:21 pm
Meta data October 2, 2004, 1:25 am
retrieving data from a form August 28, 2004, 6:21 pm
What's being sent to the website to retrieve this data? March 1, 2005, 10:36 am
Transferring Data between pages April 13, 2005, 9:42 am
ASP - data connection question May 19, 2006, 5:23 pm
Continuously Growing Data August 14, 2008, 10:06 pm
Passing Data without Submit/Input October 6, 2004, 12:25 am
Making forms remember their data? December 15, 2004, 8:29 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap