Brion Vibber (2011-06-11 23:23):
On Sat, Jun 11, 2011 at 2:16 PM, Daniel Friesen
<lists(a)nadir-seen-fire.com>wrote;wrote:
There's also the technique Raphael JS uses.
I'm quite fond of Raphael for interactive graphics -- it provides a nice
little JS API that maps things to native elements in either SVG or VML (for
older versions of IE which lack SVG). The downside for more static things is
that you won't necessarily get your graphics included in search engines or
other spidered destinations, and it's probably harder to adapt them to other
kinds of data export. (For instance to do a PDF export you'd either need to
be able to execute the JavaScript to produce SVG, then capture the SVG, or
add a second renderer in your export tool that produces suitable output.)
Of course if you're only ever going to use it in-browser for private sites,
no worries. :D
Yes, I'm not very worried about search engines and probably most of the
user won't worry about that too. I might render some fall-back table
with tasks for the sake of it, though.
Raphael JS seems a nice thing to get started, so I'll probably use it
and create some kind of an SVG overlay and maybe move to pure HTML at
some later point.
Thanks,
Nux.