I have now spent several days working through several web-based tutorials and a pretty useful text book called 'Developing Web Applications with Python'. My takeaway from this study to date is that:
- Flask is quite powerful because it comes with numerous modules and extensions that make the webserver code relatively simple.
- Apart from the online Tutorials and textbooks, the Flask Documentation (https://flask.palletsprojects.com/en/1.1.x/) appears to be well-written and comprehensive.
- I think that the basic requirement of producing a web form (or some forms) will be relatively straightforward, (although it will take me some time to develop such a thing owing to my non-programming background).
- All of the Tutorials and textbooks that I have found major on accessing information in a database and the Flask module flask-sqlalchemy seems to provide some great features, especially when combined with other modules to aid formatting etc.
- Other tutorials that I've found give some insights into social networking development and blogging, but they all seem to rely on an underlying database technology as you would expect.
- I've found nothing that fetches data using sockets code in a web form although there are a couple of Flask modules:
- flask-sockets which provides a websocket library
and - flask-socketsio which gives Flask applications access to low latency bi-directional communications between the clients and the server. The client-side application can use any of the SocketIO official clients libraries in Javascript, C++, Java and Swift, or any compatible client to establish a permanent connection to the server
- flask-sockets which provides a websocket library
One question though:
Hamish, I understand that your sockets code is in an enhanced Python module to make using it easier but it uses the standard Python sockets module underneath. Do you think it will be compatible with the flask-socketsio module which seems to be what we want?