It is necessary on the server side to make a pop-up alert / notification on the desktop.

Those. the client clicks on the button in his browser (added a record in the database), and on the server side a pop-up notification appears about the new record in the database.

  • Like this codepen.io/anon/pen/hCwyv , but to be reproduced on the server - pavel
  • That is, you want the client to display a corresponding notification after writing to the database, or should it be displayed by the resource manager in its admin panel or how? ... Please explain the question. - Streletz
  • The question requires clarification. Is there a GUI on the server and will someone be sitting on the server in the GUI and there should be a notification in this GUI, or will there be someone on the server sitting in the browser and in the browser on the server should there be a notification? Or do you not quite understand what a server is? - ReinRaus
  • admin to display - pavel
  • there is a GUI, this example shows how it looks like codepen.io/anon/pen/hCwyv - pavel

2 answers 2

As an option.

Send a timer request from the AJAX admin panel to the DB. If something new has appeared, send the relevant information to the admin panel and display notifications.

Something like that ...

  • Is there an example with ajax? So he checked in the database new records - pavel
  • @pavel, the fact is that the example of the implementation of what I wrote in the answer just 5 minutes not to jot down. Or write yourself and, if something does not work out, lay out your code with a specific description of the problem. Or contact the freelancers who write you such a module for the site, but for the money. Only, if you address them, make your wishes in the form of a clear TK, and not like here. Otherwise, you are unlikely to be taken seriously. - Streletz
  • Ok, thanks for explaining the point) - pavel

Send alerts via Jabber (or other messenger) or even SMS gate. Thus, the admin may not be tied to the desktop.