Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Providing feedback to Web GUI (Mojolicious)

by LanX (Saint)
on Nov 16, 2013 at 12:31 UTC ( [id://1062884]=note: print w/replies, xml ) Need Help??


in reply to Providing feedback to Web GUI (Mojolicious)

OK I dunno which techniques are the "Mojo" way to do it.

But if you normally printed the status to STDOUT why don't you simply redirect it now to a file?

You could use a scheduled AJAX request to poll the infos there without needing any threads on the server side.

Tip: formatting in JSON might help with multiple data fields.

Cheers Rolf

( addicted to the Perl Programming Language)

  • Comment on Re: Providing feedback to Web GUI (Mojolicious)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (6)
As of 2024-04-23 13:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found