sockets - How does Firebase javascript .on('value') callbacks work? -


i wondering how 1 go implementing similar firebase with:

firebaseref.on('child_removed', function(oldchildsnapshot) {   // code handle child removal. }); 

how write server this? using webhooks behind scene? how calling function when value changes?

any great, thanks.

you can use websockets achieve functionality. checkout feathersjs. can use socketio listener or adapter such can.feathers(canjs). adapter exist other frameworks such angular, doesn't yet.


Comments

Popular posts from this blog

php - render data via PDO::FETCH_FUNC vs loop -

c# - Avoiding duplicate methods for Task and Task<T> -

javascript - Which segment of a polyline was clicked? -