I want that when a user performs a certain action in the frontend of my Node.Js app, his data is sent to the script that processes the commands in the backend and then pings when the results are ready the frontend again and update the info that the user sees.
How to do that in a Node/Express app in the most efficient way? Shall I just use some kind of AJAX calls or there's a better way or a Node module or something that helps do it in a more Node-friendly way?
Thank you!
PS sorry if the question is a bit general, but it's only general because i do not know much about this particular aspect, so i seek to become a bit more specific in my point of view.
Aucun commentaire:
Enregistrer un commentaire