I need your help here. I have a server, and when something is updated in the db, I want to show a popup in the front end. What do I need to do? And what is this thing called?
try to search socket.io
yes. Websockets. use one of the available standards, such as native websockets or some abstraction such as socket.io, mqtt, rabbitMQ, apache kafka, etc etc.
Basically: * keep track of socket-connected clients somehow * in the code that updates the relevant db data, also send some data to the clients
Обсуждают сегодня