Wednesday, February 23, 2005

IFrame or XmlHTTPRequest

(à propos de : http://jgwebber.blogspot.com/2005/02/mapping-google.html)
I mentioned before that there was some advantage to be had by using a hidden IFrame over making direct XMLHttp requests. One of these is that the IFrame's state affects the back button. So every time you do a search, it creates a new history entry. This creates an excellent user experience, because pressing the back button always takes you back to the last major action you performed (and the forward button works just as well).