Hello sir, almost like that, taking your facebook post has example, when you write your post in the front end, all your post is saved in a variable, then will be added to a JSON file that only contain all the data that have to be sent to the server, once the server get the JSON file, there will have some functions to know what variables needs from that file in order to update your account status, the status is a “post” from you…Then, the front-end will notify the new update and show it to you…this process is quite more complex than this explanation and also all of this happens in seconds or even less…
Hope this gives you a clear picture of the subject.
If you have any more questions, please let us know so we can help you!
Carlos Z.