Ajax
'Asynchronous JavaScript And XML'.
What?
Use JavaScript to create a ThinClient 'XMLHttpRequest', and use it to request data from the server, and then use DOM 'Document Object Model' from JavaScript to apply the received data into the already loaded page, using Asynchronous pattern.
!!!??? 'Sorry …… What did you say!' Ok let's make it easy.
Earlier we deal with web site as following 'figure 1'
1. Request a web site 'Write web site URL' or 'Use Link from another site'.
2. The Web site server will process your request and send an Html page back.
3. Request an update for any port of the already load page the browser will post the whole page to the server.
4. Then the server will process your request and send the whole page back to your browser again.
Nowadays when using AJAX it will be as following 'figure 2'
1. Request a web site 'Write web site URL' or 'Use Link from another site'.
2. The Web site server will process your request and send an Html page back.
3. Request an update for any port of the already load page will enforce the ThinClient to handled the update request.
4. ThinClient will send only the data that server needs to make the update.
5. The server will process your request and send just the new data to the ThinClient.
6. The ThinClient will update only the port needs to update.