To integrate the socketio (or websocket) into the py4web-app
pay attention to the data flow in the sio-ws-application
1. the py4web-controller sends an html page to the browser
with the data from the pydal and the sio-connection-string-to-the-sio-server
2 the sio-server sends the data to a specific controller via POST request
(or via json-interface to pydal bypassing the sio-server )
( The sio-server captures all sio-events-communication with the browser )
3 the py4web-wsgi-controller sends an event to sio-server via redis connection _only_
( or sends the html-page to the browser bypassing the sio-server )
4 the py4web-controller and the sio-server can also communicate
through additional redis channels with py4web-controllers-fixture
-----------------------------------------
5 it is also convenient to use the socketio to interact with the celery
6 The main source of information about the socketio is Miguel Grinberg