[whatwg] element.onFocus instead of window.onhashcange ?

Tab Atkins Jr. jackalmage at gmail.com
Sat Nov 21 21:20:16 PST 2009


On Sat, Nov 21, 2009 at 3:33 PM, Bjartur Thorlacius
<svartman95 at gmail.com> wrote:
> Could you please explain to me (forgive me, I haven't got much
> experience on this topic) why "webapps" can't either have a specific
> element for <inbox> and <sent mail>, or even different pages? Why is
> it so terrible to navigate to another page to fetch another mail
> folder? They have to fetch the data from the server anyway.

Thomas Broyer already pointed out that just fetching particular bits
of the page can be much faster than pulling down the whole page.  In
addition, apps with significant javascript state can avoid having to
throw away and rebuild the entire thing every pageload, which can be
extremely significant.

> And btw, my Gmail is configured to use 'basic HTML', which AFAIK makes
> each view a new page.

It does, and that view doesn't have the same usability as the full version.

~TJ



More information about the whatwg mailing list