I'm working on Angular app using Php Phalcon framework for backend. So i have some server data shown in tables. It can be changed by client async, but i can't know when data is actually changed. Also i need update it as far as another client change it.
One of my ideas was to update data on regular basis, but i find this a bit clunky and think it is not really the way this should work.
Other way is to create some event on server so client could know he should get new data version.
How do i implement this? Maybe there are some instruments i could use for that?