> These are just different languages/environments for server-side programming[color=blue]
> (CGI is a protocol to call programs written in any programming languages
> from the webserver). Everyone probably has a way to pull data from some
> datasource and create a pretty graph of it. But without further support on
> the client-side all you can do is to build a self-refreshing page with a
> dynamically created image embedded. This can consume pretty much bandwidth
> (the whole image has to be transferred on each refresh).
>
> Even with special client-side support, you'll need some server-side
> programming to deliver the data to the clients (if you say, you can already
> expose it via XML-RPC, then this part is already done).[/color]
I pretty much knew I needed some client side support and have no
problem with that as long as the needed client support is
cross-platform, semi-universal, and non-crippling (eg: JavaScript,
Flash Player). My problem is I don't know what is strictly server side
and what is not? eg: Is PHP only server side or can there be some
client side stuff? From what I've seen so far it looks like it (and
Perl) are server only and that JavaScript is client only.
Thanks for the CGI tidbit... didn't know that.
I really only listed the things I did because I was/am coming from a
pretty clean web development slate.
As for server data availability, this is no problem. I did see that
some of the languages support XML-RPC (or someone has made a tool for)
, but this part is very easy to change to match what seems to be the
tough part to me - the nice web app.
[color=blue][color=green]
> > JavaScript[/color]
> Using XML-RPC shouldn't be a major problem (keyword AJAX...)
> Latest Mozilla/FireFox versions (AFAIK only unreleased CVS versions) and
> Safari (I believe...) support a new CANVAS element that can be used to draw
> arbitrary graphics using JS. But this is fairly new and experimental...[/color]
Since posting I've been looking into Javascript/Ajax (unclear so far on
the distinction - Ajax is a new one to me) options and am quite amazed
what can be done. Some examples of what I've found (some not plotting,
but generally making nice looking applications):
www.bindows.net
- Interesting claims about it all being server side?!
- seems to only work nicely with IE...
- They have decent looking example of plotting and other surprising
widgets:
-
http://www.bindows.net/bindows/samples/inline/
qooxdoo.oss.schlund.de
- More JS capabilities to make full applications
- no plot I can find, but there is a (lame) demo of the canvas you
mentioned:
- qooxdoo.oss.schlund.de/demo/release/public/test/user/Canvas_5.html
- other demos available in the top-right combo o fthat last link
are impressive as far as making something look like an application,
but it seems quite slow overall.
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
- General JS-only capability I didn't think was possible
- no plots
I'm still digging about for stuff.
[color=blue]
> ActionScript for Flash is what JavaScript is for HTML. ActionScript has some
> XML-RPC support which you could use to pull data from the server.[/color]
So far I'm very impressed with the potential for Flash. I now somewhat
get how it is organized with the combination of MXML and ActionScript
working together to generate SWF's. If I'm right your statement shoudl
really be "ActionScript is for MXML is what JavaScript is for HTML" -
plus you need the Flash player on the client to use either MXML or AS.
Right? It seems that it can do everything I want it to so far,
including having built in graphing controls (or widgets or whatver
they'd be called in Flash). eg: I found an example of a built in line
plot (and others):
livedocs.macromedia.com/flex/15/flex_docs_en/wwhelp/wwhimpl/js/html/wwhelp.htm
I located a document that describes the Flash platform quite well at
http://www.macromedia.com/platform/w...m_overview.pdf and on a
scan through it has me pretty excited. I'll be reading it over
tonight.
[color=blue]
> You could also you a Java applet to draw the graphs and pull data from the
> server.[/color]
I've not much Java experience, even as a user, but from what I have
seen I've always thought that Java apps were slow to load and were very
obvious that they were Java apps. I never liked the Java engine
lurking in my system tray either, but that is obviously not a real
concern. The Java client-side applications is big, too... no? If
you've got a link to a good Java App (preferrably a real time updating
one) I'd love to see it in order to geta feel for the potential, and
hopefully
[color=blue]
> My (very personal) suggestion: I've done enough of Flash/ActionScript
> programming to prefer the Java solution, although I haven't done Java for
> years... ;)[/color]
Personal suggestions/ideas are what I'm after! I'm glad to have found
this general forum... posting to a JS or Flash or PHP or whatever forum
would likely have been a disaster.
Without too much detail (and to avoid a war) is there any one
particular thing that makes you prefer using Java over Flash?
Development environment? General comfort? Overall capability?
Thanks for the responses,
Russ