php - Refresh page data upon change to database data on all clients -


i'm developing generic website, spa specific event. page consists of information event, , activities happening during event ( retrieved database). event/activity details can edited through forms available on web app. besides that, there 1 'chat box' created through simple post , database (php).

but thing is, data on page not updated until page refreshed.

i data to refreshed (without refreshing page), , applies clients on webpage.

example 1: if add activity, should list out @ page without needing page refreshed on clients on webpage.

example 2: if post message on chatbox, message should appear without page being refreshed, , message should appear on devices on page.

currently, using html,css, angularjs, bootstraps , simple php.

what topic should on / explore implement feature?

to exact : want refreshes data on client whenever http.post /put/delete called