Re: php includes and ajax [message #173112 is a reply to message #173105] |
Tue, 22 March 2011 06:43 |
Michael Fesser
Messages: 215 Registered: September 2010
Karma:
|
Senior Member |
|
|
.oO(Lwangaman)
> I think that there is a big advantage in not having to refresh a page
> continuously for every request sent to the server, sometimes you only
> have to update a fragment of a page and not a whole page. So it makes
> more sense, and it makes for more pleasant navigation and use of a
> webpage, if you do more background processing and only update those
> parts of the page that need to be updated to display the server's answer
> to a request that was sent.
Correct, but if used improperly or too often it may also cause problems.
Partly replacements of a page for example pretty much defeat the purpose
of the browser's back button - you just can't get back the usual way,
but have to use the site's navigation again. A navigation completely
based on AJAX is usually not very user-friendly.
Micha
|
|
|