Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: How about ...

by rvosa (Curate)
on Feb 26, 2007 at 23:22 UTC ( [id://602243]=note: print w/replies, xml ) Need Help??


in reply to How about ...
in thread posting from POE to XUL

Thanks, erm, Moron :)

In this case, though, the idea is that the log is tailed in a non-blocking way, so that rather than having to periodically check it - halting everything else - it's done either in multitasking environment (hence POE), or through something like threads (but sharing widget objects is painful).

The solution that I've found to sort of work is to have spawn a poe log tail wheel and a light poe http server that receives the tail in a buffer. The server than writes out the buffer in a page that periodically refreshes, and this page is served up in an iframe inside the xul app. The downside is that it's a bit jerky with the refreshing, but it gets the job done.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://602243]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-04-24 15:48 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found