F
F
Falseclock2014-10-15 12:32:12
Monitoring
Falseclock, 2014-10-15 12:32:12

Monitoring and informing changes in the database on the web server?

There is a dynamic web page in the form of a large table with input fields and a Save button.
Multi-user access.
How to organize the immediate transmission of information about the change to the browser of each user. Let it be a marker, let it be JSON data, but so that everyone in the browser always has up-to-date information.
One user changed the column - everyone updated it.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Entelis, 2014-10-15
@Falseclock

If absolutely instant - sockets.
We cling to the socket by the client.
When data changes on the server, we send a description of what has changed where, render the page to the socket

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question