Self updating webpage

In this specific example, we want the server to be continually working in the background generating new information, while at the same time allowing new clients to connect, and pushing new information to connected clients.

By using applications deployed using Click Once, you can have the best of both technologies.

Client presentation is done, for this example, using a simple bootstrap themed page contained in the Flask Template folder, and the number handling logic is maintained in the static Java Script file

A running list of 10 numbers is maintained and all connected clients will update simultaneously as new numbers are generated by the server.

This post is about creating Python Flask web pages that can be asynchronously updated by your Python Flask application at any point without any user interaction.

We’ll be using Python Flask, and the Flask-Socket IO plug-in to achieve this. What I want to achieve here is a web page that is automatically updated for each user as a result of events that happened in the background on my server system.

Search for self updating webpage:

self updating webpage-35self updating webpage-21self updating webpage-15self updating webpage-21

Leave a Reply

Your email address will not be published. Required fields are marked *

One thought on “self updating webpage”