473,326 Members | 2,196 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

real time info to web browser from apache side ?

I know about writing CGI application using Perl and Apache to refresh a
static webpage that displays on the browser. But now i have an
application requirement that I hope someone can help me.

The server side sits in another room down the factory plant, its
monitoring some hardware environment, namely temperatures and pressures
etc inside the plant. This server of course have Apache running. I
would like to be able to have a browser in the comfortable office
somewhere point to the apache server, and after I enter the password,
it would display the temperature and pressures etc in the plant (in
real time, ie. as the temperate changes from a degree to another, the
browser will immediately display this). So I am looking more for a
push technology than a pull from teh browser (user hit Ctrl-R to
refresh is a pull).

What are the current technology that allows for this. I know its
possible because I can use my browser sometimes to chat with people
online, and I swear that I don't have to do a Control-R everytime to
see that the other person's typing is updating constantly on my
browser.

Thanks in advance,
Push technology wannabe

May 23 '06 #1
4 1663
"Joseph" <sp****@canada.com> writes:
What are the current technology that allows for this. I know its
possible because I can use my browser sometimes to chat with people
online, and I swear that I don't have to do a Control-R everytime to
see that the other person's typing is updating constantly on my
browser.


The trendy way these days is with AJAX, which I guess is legitimate in
an environment where you control both the browser and the server.
May 23 '06 #2
Joseph wrote:
I know about writing CGI application using Perl and Apache to refresh a
static webpage that displays on the browser. But now i have an
application requirement that I hope someone can help me.

The server side sits in another room down the factory plant, its
monitoring some hardware environment, namely temperatures and pressures
etc inside the plant. This server of course have Apache running. I
would like to be able to have a browser in the comfortable office
somewhere point to the apache server, and after I enter the password,
it would display the temperature and pressures etc in the plant (in
real time, ie. as the temperate changes from a degree to another, the
browser will immediately display this). So I am looking more for a
push technology than a pull from teh browser (user hit Ctrl-R to
refresh is a pull).

What are the current technology that allows for this. I know its
possible because I can use my browser sometimes to chat with people
online, and I swear that I don't have to do a Control-R everytime to
see that the other person's typing is updating constantly on my
browser.

Thanks in advance,
Push technology wannabe

I would use AJAX so that I could query the server via XMLrpc
calls to update the browser. You can have much higher refresh
rates using this method. The alternative is to just have
the browser refresh every few seconds by imbedding a header at
the top. Something like:

<meta http-equiv="refresh" content="10">

Refresh every 10 seconds.

-Larry Bates

would refresh every 10 seconds.
May 23 '06 #3
"Joseph" <sp****@canada.com> writes:
So I am looking more for a push technology than a pull from teh
browser (user hit Ctrl-R to refresh is a pull).


Not necessarily; just write the web page so that it instructs the
browser to do the pull automatically, without refreshing the entire
page.

This has come to be known as AJAX (though, because this is the sort of
thing JavaScript was designed for, some just call it JavaScript).

--
\ "During my service in the United States Congress, I took the |
`\ initiative in creating the Internet." -- Al Gore |
_o__) |
Ben Finney

May 23 '06 #4
In article <ma***************************************@python. org>,
Ben Finney <bi****************@benfinney.id.au> wrote:
"Joseph" <sp****@canada.com> writes:
So I am looking more for a push technology than a pull from teh
browser (user hit Ctrl-R to refresh is a pull).


Not necessarily; just write the web page so that it instructs the
browser to do the pull automatically, without refreshing the entire
page.

This has come to be known as AJAX (though, because this is the sort of
thing JavaScript was designed for, some just call it JavaScript).

May 24 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Sims | last post by:
Hi, I recall a function that would tell me how long it took to generate an output. But for the life of me I cannot remember it. Dow anybody know it? Or do I have to write something myself,...
0
by: Greeshma | last post by:
Hi all, I have successfully configured Apache 2.0.4 with RedHat 7.3 and use Python 2.2.3 for cgi scripts. When I start Apache manually through /usr/local/apache/bin/apachectl startssl, I can...
12
by: | last post by:
I've trolled the lists, FAQs, and Net as a whole, but can't find anything definitive to answer this. We're looking for real-time graph capability (bar, line, etc), so that we can display...
4
by: Rg | last post by:
Hello, I am very beginner with jscript. I have an Apache PHP enabled webserver and want to know from where users are coming from. Understand I want the last surfer's browser visited url. I...
12
by: Russ | last post by:
I'm interested in setting up a web page where live data can be displayed in real-time on the web page. For example: I would like to display a (nice looking) graph of some data value versus time...
7
by: jude | last post by:
Hello, We are starting to discuss a new ASP.NET application that will be a data acquisition display application. The data to be displayed will come from multiple sources--database tables, serial...
6
by: Charles | last post by:
Hello, I have a specific need to stream text from a database to a browser window in real time. Basically, I need this for a chat application such as phplive. A browser window needs to display in...
4
by: Warren Peace | last post by:
'Tis my first time trying to install PHP on my Win XP machine... Apache/2.2.3(Win32) PHP/5.2.0 Main problem is that with my lack of PHP experience, I'm not sure if my syntax is incorrect, or if...
5
by: JX | last post by:
Is it possible to replace the address in client browser for server.transfer with the the real location?
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.