W3C home > Mailing lists > Public > whatwg@whatwg.org > November 2009

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

From: Tab Atkins Jr. <jackalmage@gmail.com>
Date: Sat, 21 Nov 2009 23:20:16 -0600
Message-ID: <dd0fbad0911212120l12bf3346g7e052a445d262cb5@mail.gmail.com>
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
Received on Saturday, 21 November 2009 21:20:16 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:19 UTC