For client you can use websocets ( http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#WebSocket_web_service ) or longpolling ( http://mojolicio.us/perldoc/Mojolicious/Guides/Cookbook#EventSource_web_service )
2014-06-18 19:20 GMT+04:00 LesPaul7String <[email protected]>: > Hi, > > I have a mojo web-app that connects to a mysql DB and renders some data in > the browser > Now, I want to have something like push messages: > - if I manually change some value in a table I want to make it visible in > the browser without > > Basically I don't know how to query the DB in a cyclic way, maybe > Mojo::IOLoop? > and then after I get the data, how should I send it to the client - is it > with websockets? > Can somebody point me in the right direction? > > Thanks, > Andrei > > -- > You received this message because you are subscribed to the Google Groups > "Mojolicious" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/mojolicious. > For more options, visit https://groups.google.com/d/optout. > -- С уважением, Александр Грошев. -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
