First, when the app is constantly saving what the user inputs
Second, when it is just done saving every piece of data
Third when some time passed and it wants to inform the user about real time status information
These are the steps for the frontend side. On the server side, well just look at this network traffic below, this absolutely has to be custom tailored to everyones infrastructure
Let's look at my original code that was born to recreate this action
The above code looks like this in the browser (sorry, it's the Hungarian version)
I hope this little code gives some of you more ideas. Please bare with this code as it is premature and not yet ready for production (I believe).