[erlang-questions] how: ot: real time web pages?

Jouni Rynö <>
Sun Dec 2 08:25:55 CET 2007

I start from what I would like to have:
A web page with a real time updated display of numerical values and  
graphs. Think about typical process displays in industry,  
temperatures, voltages and some graphs showing parameter history.  
Maybe some graphical layout of hardware, to show how each parameter  
is connected to each other.

To achieve that, I would need a  web page template format, where I can:
- define named text fields, which shall be updated
- define named graphics, which can be updated
- and some code to generate the real page and connection functions  
for (comet style?) communication with the page and erlang process  
feeding the data

Currently I have all that implemented as Tcl/Tk canvas (thanks to Ola  
Samuelsson and ewish, which was distributed with Erlang back in 97 or  

As my understanding of "javascript" is practically zero, I would like  
get a hint on how to do this. Googling shows a lot of options, most  
of the systems not quite being there. Should it be simply javascript  
and svg, changes updated via attributes. Or canvas tag (complicated  
with text fields?) Or haxe and flash (for which I did not find  
examples, how the update mechanism would work) Or something else?

Is this doable? Some examples existing already?


More information about the erlang-questions mailing list