Posted in Structr by Kai on Apr 02, 2021
One of my previous posts about communcation via a Telegram Bot reminded me that Structr also has support server-sent events using the EventSource
interface. This enables us to push live updates to users with a few lines of JavaScript. In this post we will extend the example application from the previous post and create a small example with an auto-updating progress-bar using this pattern. With a little imagination we can adapt this basic example to more advanced scenarios. Let's get started...