[Ovirt-devel] [R&D] Breaking the Browser

Jason Guiditta jguiditt at redhat.com
Thu Jul 3 21:14:05 UTC 2008


On Thu, 2008-07-03 at 13:59 -0700, Jeff Schroeder wrote:

> Q: How do you get realtime graphs with a webapp?
> A: SVG + AJAX
> 
> A good example of how to do this would be the m0n0wall firewall.
> Here is a screenshot of their interface graphs:
> http://m0n0.ch/wall/images/screens/status_graph.png
> 
> The svg graphs are drawn by the javascript. It gets the data from a
> xmlhttprequest
> feed directly from the server. It is really sexy technology and most browsers
> support it. Is asking IE users to install the Adobe SVG plugin or user Firefox
> too much?
> 
> Take a look at how easy this is to do:
> http://www.browserland.org/scripts/svgclock/
> 
> If you compress that svg down, the whole thing is 4k. I don't even think flash
> could do something that smooth and clean looking in 4k. Were you aware of this?
> 
Agreed, and we are using svg for the graphs right now, though they do
need some optimization and better javascript hooks.  I am not a
proponent of us using flash for this, but others disagree.  Also, since
adobe is discontinuing support for their svg viewer, there is another
one I have read good things about called renesis:
http://www.examotion.com/Downloads.product_player_download.0.html




More information about the ovirt-devel mailing list