Hello,
I've been writing perl scripts and perl CGIs for quite a while now. But all of my scripts/pages/cgi follow the design of:
1) get something from user
2) do something with that data
3) generate and display html
Nothing fancy, and I don't use CGI.pm. I've just always generated and printed my own html, what can I say? I'm a control freak.
Some newer projects I'm working on could benefit from not doing constant GETs or constantly refreshing a page. For example, I'd like to have a page that could be broken up using frames or tables or whatever and stream text to each one of those frames/cells without doing constant GETs/refreshes. Something like multitail for a web page. That's just an example, not necessarily what I'm doing though. I'm just trying to get around the constant requests for data from the client, same thing with refreshes.
Ajax seems to be the tool to use for this sort of thing but I've never really dug into javascript, so I'd have to jump in to that if it's the way to go. I've checked out CGI::Ajax, but it seems to hide me from the 'code' the same way CGI.pm does....I'd rather stay away from that.
So my question is, what's the best way to approach this?
Thanks!