I have a very big misunderstanding regarding asynchronous calls and I couldn’t find a reasonable answer to my question (I’m sorry if it’s a stupid question but it seems that I can’t understand this)
Is there any way in web development to call functions asynchronously without Javascript ?
When I mean asynchronous I refer to calling a function that does heavy processing to run in the background as the page loads and when it finishes to display results to the user without making him wait for the function to process (and display blank page).
Are sockets viable ?
Languages : PHP , JAVA , ASP.NET , PYTHON
Thanks.
Well, there is no reason for the server to wait until all dynamic content is available before sending data to the client. So it could send some data (e.g. a “please wait”-message), then do the heavy processing and then send the response, all as reply to one http-request. This means, however, that the browser will display a loading bar all the time until the final message has been received.