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
Post a Comment