[whatwg] Offline Web Apps

Robert O'Callahan robert at ocallahan.org
Sun Sep 9 23:00:35 PDT 2007


On 9/10/07, Ian Hickson <ian at hixie.ch> wrote:
>
> On Mon, 10 Sep 2007, Robert O'Callahan wrote:
> > That's an option, but then you can't use the fragment identifier for its
> > scroll-to behaviour when you use it to pass parameters.
>
> You can just pass the scroll position as one of the parameters.


Hmm...

Here's a real-life example:
https://bugzilla.mozilla.org/show_bug.cgi?id=389437#c3
Now if we refit Bugzilla for offline support, this will become something
like
https://bugzilla.mozilla.org/show_bug.cgi#id=389437,c3
If we want the same URIs used both offline and online (which I strongly
believe is required), then for things to work when script is disabled, the
query parameters have to be stuffed into the "name" attributes. I guess
that's OK although it's a bit annoying.

> Also, when retrofitting an existing app, this requires changing the
> > sources of links as well as the destination pages.
>
> That seems like a minor issue, compared to the scale of the effort.
>
> I'd be interested in studying an actual example of what this would entail.
> Do people feel strongly about wanting this dichtomy between the online
> version and the offline version? Fundamentally, I feel quite strongly that
> we'd want them to use the exact same code all the time.


I'm just saying these are extra things that would have to be changed when
making an existing app offline-capable.

This isn't a big deal to me, authors can use the fragment identifier, it's
just ugly.

Rob
-- 
"Two men owed money to a certain moneylender. One owed him five hundred
denarii, and the other fifty. Neither of them had the money to pay him back,
so he canceled the debts of both. Now which of them will love him more?"
Simon replied, "I suppose the one who had the bigger debt canceled." "You
have judged correctly," Jesus said. [Luke 7:41-43]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.whatwg.org/pipermail/whatwg-whatwg.org/attachments/20070910/89a6a5fd/attachment.htm>


More information about the whatwg mailing list