in reply to Re: Mojolicious refresh
in thread Mojolicious refresh
A more advanced technique consists in a client side framework like Angular where the page's content depends on some JS variables and is automatically refreshed whenever a variable's value changes. These changes may be pushed to the client via web sockets. This way page updates are minimal, smooth and happen immediately.
Implementing this using Mojolicious::Lite on the server side is pretty easy. The real work has to be done on the client.
Greetings,
-jo
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Mojolicious refresh
by LanX (Saint) on Mar 18, 2020 at 23:21 UTC | |
by jo37 (Curate) on Mar 19, 2020 at 06:29 UTC | |
by Your Mother (Archbishop) on Mar 19, 2020 at 06:54 UTC | |
by jo37 (Curate) on Mar 19, 2020 at 08:19 UTC | |
by jo37 (Curate) on Mar 20, 2020 at 15:01 UTC | |
by LanX (Saint) on Mar 19, 2020 at 08:41 UTC | |
by jo37 (Curate) on Mar 19, 2020 at 09:09 UTC | |
by LanX (Saint) on Mar 19, 2020 at 09:41 UTC | |
|