How does gmail work???

I mean..see all the time u r on Gmail u just mail.google.com/mail on ur address bar....It just loads into the same web page.... How is that done...??


gmail uses AJAX. It's the new buzz term.


AJAX is an architecture and not a technology. AJAX stands for Asynchronous JavaScript And XML.


Instead of doing a normal POST/GET to the Webserver, AJAX uses an JavaScript Object called XMLHttpRequest. The Javascript will call this object and XMLHttpRequest will inturn do the POST/GET to the WebServer. This way we do not need to refresh the entire page just to update on a part of the web page.

All comments are reviewed by the administrator, before they are published.

Post a Comment (0)
Previous Post Next Post