A data submission page, where users submit data to the mysql database;
Another page is responsible for displaying data in real time.
Currently I know of ajax polling.
Is there any better solution? Thank you.
A data submission page, where users submit data to the mysql database;
Another page is responsible for displaying data in real time.
Currently I know of ajax polling.
Is there any better solution? Thank you.
It is recommended to use WebSocket for this kind of real-time connection. If you have a solution, you can use Socket.io