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 and have the graph update every second without
the user having to do anything like hit a refresh button. The data to
plot is readily available from an application running on the server - I
can expose it in whatever way is needed (currently easily available via
XML-RPC).
I've got lots of programming experience but very little web development
experience and am struggling to decipher the many web development
options that are out there. The sheer number of web development options
is a bit bewildering to me right now.
What are my options? Does anyone know of any existing packages that
enable dynamic plotting viewable by a standard web browser?
As far as far as languages are concerned for dynamic web development
I've been investigating what is out there and below is my extremely
short and terrible summary of what seems to be available. This is
definitely NOT a troll - just trying to figure out my options:
PHP
- everybody's using it... seems very good for dynamic web pages, but
possibly only good for dynamically creating static web pages (as
far as the user is concerned). Unsure if the latter is true.
- Seems to be a good graphing package available (JpGraph), but it
only seems to be able to provide static graphs.
- http://www.aditus.nu/jpgraph/index.php
- server side execution
Perl
- similar enough to PHP as far as capabilities... not looking for a
PHP/Perl comparison, just loking for what can do what I need.
JavaScript
- client side execution
- Unsure if there are any graphical capabilities at all here
- Can I somehow embed an obect and use Javascript to change it's
properties?
ActionScript/Flash
- In general it seems that Flash/Macromedia is a logical solution to
real-time updating of graphics
- Unclear at this point how ActionScript connects with Flash et al
- Going Macromedia could be expensive due to $1k per developer for
Studio 8 (not insurmountable but a factor)
- May be some free routes such as MTASC but not entirely sure of the
capability or implications here at this point
- http://www.mtasc.org/
CGI
- dead/old?
- Likely no graphics
ASP
- dead/old?
- heavy/specific server requirements?
- not keen on this route for some reason
Whatever solution I end up with should ideally be small in footprint
and also in usage of server resources. I will have my own server...
likely some Apache flavor or other.
Any suggestions on how to achieve this real-time graphics updating
based on live server-side data is appreciated!
Suggestions on a more appropriate newsgroup or other forum to post this
to are also appreciated.
Thanks!
Russ