Tracking changes in data with Firebase -


i'm interested in synchronized database paradigm championed firebase , others (couchbase sync gateway example). great job in replacing 80% of api does, storing , retrieving data. usually, that's not api does. while storing , retrieving data, doing non-data related stuff sending emails or push notifications. things, should able intercept data changes , when new record created, when existing record changed in way, or when record deleted. parse has great mechanism in cloud code (https://parse.com/docs/cloud_code_guide#functions-aftersave) couldn't find similar in firebase. did miss or thinking of wrong way?

    firebaseref.on('child_changed', function(childsnapshot, prevchildkey) {   // code handle child data changes. }); 

this article : https://www.firebase.com/docs/web/api/query/on.html child_change event


Comments

Popular posts from this blog

java - Oracle EBS .ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class ERROR -

c# - how to use buttonedit in devexpress gridcontrol -

nvd3.js - angularjs-nvd3-directives setting color in legend as well as in chart elements -