Here, the request is sent to the server or the computer’s file system first. While the server opens, reads and returns the data to the client, at the same time the next request is handled by Node.js.
DDaudalagidhar citeretsidste år
However, AJAX uses JavaScript to work asynchronously on client-side whereas Node.js uses JavaScript to work asynchronously on server-side.
DDaudalagidhar citeretsidste år
Thus, AJAX is used on client-side for asynchronous communication with the server whereas Node.js is used to create a server using JavaScript.
fb2epub
Træk og slip dine filer
(ikke mere end 5 ad gangen)