Dear gurus:
I need to create a real-time line plot on an html page, without
resorting to java, cgi, or anything server-side or offline. I think
maybe this could be done with javascript, or dhtml, and most likely
macromedia flash - what may be the best choice for a clean and
portable design?
and why?
Bill
I did a series of timelines in Flash for a textbook publisher. I'd show
'em to you, 'cept they are still in development, and that probably
wouldn't be kosher.
In any case, if you are a terrific coder, you could probably do
something decent using dhtml (Incidentally, isn't dhtml just html
elements with js applied to them? I've never known of any functional
difference between dhtml and js), but it would be a big pain in the ass.
Unless you just totally ignored whole classes of browsers, you'd be best
off making some sort of API to save you the trouble of having to adapt
everything to a cross-browser environment. I've seen some pretty clever
APIs, but it's not a job I would envy.
The nice thing about Flash is that it's like a virtual machine in a way.
There are subtle differences between the PC plugin and the Mac plugin,
but to be sure, you've only got to write your code once. Plus Flash was
originally designed with animation in mind, so if you wanted to
incorporate a fair amount of animation, you could do worse than chose
Flash.
There are a lot of people who act like Flash is some kind of horrible
skin disease, and while I admit it has its shortcomings (the Flash MX
development environment for Mac is a horrid piece of shit, for example),
there are things it is very well suited to. Wish I could show off my
timeline...
DHTML makes me nervous. I can never stop thinking that there are whole
swaths of the Internet public looking at my work and seeing totally
screwed up crap.
sp