Re:The Web Is Dead. Long Live the Internet
by chc on Tuesday August 17, 2010 @12:54PM
(#1611673)
If your Ajax code is reloading the whole page every time anything changes, that's some awful code. I have seen such designs in the wild, but that's just because whoever wrote the script was a lousy developer. It's not supposed to be that way.
Here's how Ajax works: A whole page is downloaded once from the server, then the page's Ajax functions start running — and then when part of the page needs to be updated, the Ajax toolkit only has to reload that specific data and render it on the page.
Here's how Ajax works: A whole page is downloaded once from the server, then the page's Ajax functions start running — and then when part of the page needs to be updated, the Ajax toolkit only has to reload that specific data and render it on the page.