Re: [whatwg] Offline Web Apps

2007-10-12 Thread Robert O'Callahan
On Oct 12, 2007 9:39 PM, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > On Oct 11, 2007, at 6:47 PM, Robert O'Callahan wrote: > > On Oct 12, 2007 12:53 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > > > The problem with isLocallyAvailable() -- as noted by Maciej on IRC -- is > > mostly one of race c

Re: [whatwg] Offline Web Apps

2007-10-12 Thread Maciej Stachowiak
On Oct 12, 2007, at 12:16 PM, Ian Hickson wrote: On Fri, 12 Oct 2007, Maciej Stachowiak wrote: The race-free approach would be to provide APIs to load resources only from the cache and to error out immediately if the the request can't be served locally. That's what the offline caching

Re: [whatwg] Offline Web Apps

2007-10-12 Thread Ian Hickson
On Fri, 12 Oct 2007, Maciej Stachowiak wrote: > > The race-free approach would be to provide APIs to load resources only > from the cache and to error out immediately if the the request can't be > served locally. That's what the offline caching system does right now for any URI not on the whit

Re: [whatwg] Offline Web Apps

2007-10-12 Thread Maciej Stachowiak
On Oct 11, 2007, at 6:47 PM, Robert O'Callahan wrote: On Oct 12, 2007 12:53 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: The problem with isLocallyAvailable() -- as noted by Maciej on IRC -- is mostly one of race conditions. What if the resource was removed in between you asking for it and u

Re: [whatwg] Offline Web Apps

2007-10-11 Thread Robert O'Callahan
On Oct 12, 2007 12:53 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > The problem with isLocallyAvailable() -- as noted by Maciej on IRC -- is > mostly one of race conditions. What if the resource was removed in between > you asking for it and using it? Or added? > In the contexts for which it was r

Re: [whatwg] Offline Web Apps

2007-10-11 Thread Ian Hickson
On Thu, 11 Oct 2007, Robert O'Callahan wrote: > > > > > -- Several Web app authors have asked for the ability to test > > > whether a resource is cached, for their online apps. For example, > > > when you're zooming in and out of a map, the application could > > > choose which tile(s) to use for

Re: [whatwg] Offline Web Apps

2007-10-10 Thread Robert O'Callahan
On 10/10/07, Ian Hickson <[EMAIL PROTECTED]> wrote: > On Fri, 21 Sep 2007, Robert O'Callahan wrote: > > -- Several Web app authors have asked for the ability to test whether a > > resource is cached, for their online apps. For example, when you're > > zooming in and out of a map, the application c

Re: [whatwg] Offline Web Apps

2007-10-09 Thread Ian Hickson
On Fri, 14 Sep 2007, Aaron Boodman wrote: > > In order to offline-enable bugzilla, you would first need to turn it > into an ajax-style application. Where you separate the UI template from > the data. > > If you still want to keep the old URLs working, this basically means > capturing (and per

Re: [whatwg] Offline Web Apps

2007-10-09 Thread Ian Hickson
On Fri, 24 Aug 2007, Maciej Stachowiak wrote: > > > > Could multi-page apps be addressed by letting applications specify > > that other applications should be cached (using a similar api to the > > one that lets applications programatically cache resources)? > > I don't think that works very we

Re: [whatwg] Offline Web Apps

2007-10-07 Thread Robert O'Callahan
Ooops On 9/25/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > On Sep 24, 2007, at 10:45 PM, Robert O'Callahan wrote: > So I suspect that, much like synchronous XMLHttpRequest, synchronous file > reads will lead to excessive UI lockups in bad circumstances unanticipated > by the app author.

Re: [whatwg] Offline Web Apps

2007-09-25 Thread Křištof Želechovski
PROTECTED] Cc: Aaron Boodman; Dave Camp; Maciej Stachowiak; [EMAIL PROTECTED]; Křištof Želechovski; Ian Hickson Subject: Re: [whatwg] Offline Web Apps Surely it would be possible for the browser to transparently store the encoding in the event that none was defined by the developer?

Re: [whatwg] Offline Web Apps

2007-09-25 Thread Křištof Želechovski
ištof Želechovski; Dave Camp; [EMAIL PROTECTED]; Ian Hickson; Aaron Boodman Subject: Re: [whatwg] Offline Web Apps On 9/23/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: Also, I'm not sure how a web app can be expected to know the encoding of a text file on disk. The same way that an

Re: [whatwg] Offline Web Apps

2007-09-25 Thread Maciej Stachowiak
On Sep 25, 2007, at 8:55 AM, Dave Camp wrote: On 9/25/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: The OS and the UA can often make a better guess, so I think the option to let the UA decide the encoding should at least be provided. Here are some sources of info that the UA has but the

Re: [whatwg] Offline Web Apps

2007-09-25 Thread Dave Camp
On 9/25/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > The OS and the UA can often make a better guess, so I think the option to > let the UA decide the encoding should at least be provided. Here are some > sources of info that the UA has but the web app doesn't (at least without > doing a sep

Re: [whatwg] Offline Web Apps

2007-09-25 Thread Maciej Stachowiak
On Sep 24, 2007, at 10:45 PM, Robert O'Callahan wrote: On 9/23/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: Obviously, if the way to get the contents as text requires providing the encoding, then it has to be a method. My comment was about the no- argument methods. But you have a point that

Re: [whatwg] Offline Web Apps

2007-09-24 Thread Oliver Hunt
On 24/09/2007, at 10:45 PM, Robert O'Callahan wrote: For small files, synchronous reading is OK. Perhaps there should be a separate whiz-bang asynchronous API ... it could support partial reads too. I would be concerned about this -- for many people async APIs seem scary compared to sy

Re: [whatwg] Offline Web Apps

2007-09-24 Thread Robert O'Callahan
On 9/23/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > > Obviously, if the way to get the contents as text requires providing > the encoding, then it has to be a method. My comment was about the no- > argument methods. But you have a point that reading from disk is not a > simple get operation.

Re: [whatwg] Offline Web Apps

2007-09-22 Thread Křištof Želechovski
27;Dave Camp' Subject: Re: [whatwg] Offline Web Apps On Sep 22, 2007, at 8:48 AM, Křištof Želechovski wrote: > An arbitrary file is a sequence of bytes and it is up to the > application how > these bytes are interpreted as characters. > Moreover, a text file conceptually does n

Re: [whatwg] Offline Web Apps

2007-09-22 Thread Maciej Stachowiak
On Sep 22, 2007, at 8:48 AM, Křištof Želechovski wrote: I do not share your reservations. The file contents does not constitute its property and, unlike properties, much work is actually needed to extract it. Therefore the name chosen seems very appropriate. How is the character encoding

Re: [whatwg] Offline Web Apps

2007-09-22 Thread Křištof Želechovski
, September 22, 2007 1:07 AM To: Dave Camp Cc: [EMAIL PROTECTED]; Ian Hickson; [EMAIL PROTECTED]; Aaron Boodman Subject: Re: [whatwg] Offline Web Apps On Sep 21, 2007, at 10:49 AM, Dave Camp wrote: > On 9/21/07, Robert O'Callahan <[EMAIL PROTECTED]> wrote: >> Actually we have an

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Dave Camp
On 9/21/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > DOMString getAsBinary() isn't actually self-explanatory to me. How do > you encode binary data as a UTF-16 string? I can think of at least two > vaguely obvious ways (each code point is a byte, or each code point is > a 16-bit chunk of the

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Anne van Kesteren
On Sat, 22 Sep 2007 01:07:23 +0200, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: It would be nice if this was designed to handle the possibility of multiple file selection (which I think Web Forms 2 enables). It does actually. There's a fileList attribute on HTMLInputElement that returns a

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Maciej Stachowiak
On Sep 21, 2007, at 10:49 AM, Dave Camp wrote: On 9/21/07, Robert O'Callahan <[EMAIL PROTECTED]> wrote: Actually we have an experimental API for this now. See here: http://mxr.mozilla.org/seamonkey/source/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl#55 http://mxr.mozilla.org/seamonkey/sour

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Dave Camp
On 9/21/07, Robert O'Callahan <[EMAIL PROTECTED]> wrote: > Actually we have an experimental API for this now. See here: > http://mxr.mozilla.org/seamonkey/source/dom/public/idl/html/nsIDOMNSHTMLInputElement.idl#55 > http://mxr.mozilla.org/seamonkey/source/content/base/public/nsIDOMFileList.idl > ht

Re: [whatwg] Offline Web Apps

2007-09-21 Thread Robert O'Callahan
I haven't had time to study Ian's proposal properly yet, sorry. But some easy comments: On 9/20/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > > > Upgrader: > > Create a hidden browsing context. > > Load the upgrader in it. > > I don't like this whole upgrader idea. Parsing HTML and CSS and >

Re: [whatwg] Offline Web Apps with Open-Ended URI Spaces (was Re: Offline Web Apps)

2007-09-21 Thread Robert O'Callahan
On 9/20/07, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > 2) Many offline web apps will let you want to make changes, including > not just changing existing items, but also creating new items. To do > this, at minimum there needs to be an API to inject a new resource > into the offline cache prog

Re: [whatwg] Offline Web Apps with Open-Ended URI Spaces (was Re: Offline Web Apps)

2007-09-20 Thread Aaron Boodman
On Sep 19, 2007 11:23 PM, Maciej Stachowiak <[EMAIL PROTECTED]> wrote: > Given point #1, I think this should be based on textual prefix > matching of the URI, not just dropping the query (the scheme and > authority sections should be treated specially, of course, it should > not be allowed to have

Re: [whatwg] Offline Web Apps

2007-09-20 Thread Maciej Stachowiak
My commentary below. Overall, I think the basic model is fairly sound. But I do think some improvements could be made. On Sep 6, 2007, at 5:46 PM, Ian Hickson wrote: Ok, new proposal: There's a concept of an application cache. An application cache is a group of resources, the group bein

[whatwg] Offline Web Apps with Open-Ended URI Spaces (was Re: Offline Web Apps)

2007-09-19 Thread Maciej Stachowiak
On Sep 13, 2007, at 3:59 PM, Ian Hickson wrote: On Thu, 13 Sep 2007, Aaron Boodman wrote: Maybe you were asking how you could keep querystring-based urls in the offline version of Bugzilla? There isn't an "offline version". There's just one version, it just happens to support being online

Re: [whatwg] Offline Web Apps

2007-09-17 Thread Ian Hickson
On Fri, 14 Sep 2007, Mark Baker wrote: > > +1 Just for the record, there's no need to actually post to this list just to say that you agree. I take into account all comments and base the edits to the spec only on the merit of the arguments, not their popularity. You can see which e-mails I've t

Re: [whatwg] Offline Web Apps

2007-09-14 Thread Aaron Boodman
On Sep 13, 2007 3:59 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > We're talking about Bugzilla here. There's a LOT of data to send per bug. > All the metadata, all the comments, the entire changelog, it adds up to > probably not much less than the actual page as generated by the server. In order t

Re: [whatwg] Offline Web Apps

2007-09-14 Thread Mark Baker
On 9/13/07, Ian Hickson <[EMAIL PROTECTED]> wrote:> By doing this we're basically saying that the query string never gets sent > to the server anymore. That seems like a huge violation of the URI > semantics. > > I think the problem here isn't necessarily just the query parameters > though. The pro

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Ian Hickson
On Thu, 13 Sep 2007, Aaron Boodman wrote: > > > > Ok, but what are you proposing to _solve_ this? There's no difference > > between the following two models as I see it: > > > > * Download an HTML page for each bug > > > > * Download a single page to generate the bug pages plus one data > >

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Aaron Boodman
On Sep 13, 2007 1:59 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > Ok, but what are you proposing to _solve_ this? There's no difference > between the following two models as I see it: > > * Download an HTML page for each bug > > * Download a single page to generate the bug pages plus one data >

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Ian Hickson
On Thu, 13 Sep 2007, Aaron Boodman wrote: > > The bugzilla scenario is a good one. Someone wants to offline-enable > bugzilla. They could rewrite bugzilla to use fragment identifiers > instead of querystrings, but then bug shortcuts on the web would not > work with the offline-enabled applicati

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Aaron Boodman
On Sep 6, 2007 5:46 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > We provide an API that can add files to the cache, and that can be queried > to determine if we are in upgrader mode or not, and that can swap in a > new cache without reloading the page, during the 'upgrading' event. Given this, and

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Dimitri Glazkov
On 9/13/07, Anne van Kesteren <[EMAIL PROTECTED]> wrote: > You seem to have missed what I pointed out earlier: > http://www.whatwg.org/specs/web-apps/current-work/#pushstate This allows > applications to make distinct URIs while keeping all the other benefits. Yes, it does, and I apologize I misse

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Anne van Kesteren
On Thu, 13 Sep 2007 18:21:21 +0200, Dimitri Glazkov <[EMAIL PROTECTED]> wrote: I would've loved it if Google Reader had a distinct URL for each click I make on the page, and I am sure Google Reader devs would've loved it too. Except they also would've loved not having to worry about the browser/

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Dimitri Glazkov
The following has a rant flavor to it, but I am hoping you'll find it helpful in the thought process. Distinct, server-reaching URLs (no fragment identifiers) for each page in an web application are a _good_thing_. Packing the whole application into one document and managing history with id hashes

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Anne van Kesteren
On Thu, 13 Sep 2007 17:30:02 +0200, Aaron Boodman <[EMAIL PROTECTED]> wrote: On Sep 13, 2007 4:44 AM, Anne van Kesteren <[EMAIL PROTECTED]> wrote: I feel like me and the other querystringers are missing some critical detail that would make omitting querystring support work. So here is how I see i

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Dimitri Glazkov
On 9/13/07, Aaron Boodman <[EMAIL PROTECTED]> wrote: > The bugzilla scenario is a good one. Someone wants to offline-enable > bugzilla. They could rewrite bugzilla to use fragment identifiers > instead of querystrings, but then bug shortcuts on the web would not > work with the offline-enabled appl

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Darin Adler
On Sep 13, 2007, at 8:30 AM, Aaron Boodman wrote: They could rewrite bugzilla to use fragment identifiers instead of querystrings, but then bug shortcuts on the web would not work with the offline-enabled application. If you're designing a new application, even one that works both online

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Aaron Boodman
On Sep 13, 2007 4:44 AM, Anne van Kesteren <[EMAIL PROTECTED]> wrote: > I'm not sure I understand the query parameter use case. If you have a web > page "foo.cgi?page=x" wouldn't that page also be simply the offline page? > What exactly is the scenario in some more detail? I feel like me and the o

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Anne van Kesteren
On Thu, 13 Sep 2007 11:22:59 +0200, Robert O'Callahan <[EMAIL PROTECTED]> wrote: On 9/11/07, Dimitri Glazkov <[EMAIL PROTECTED]> wrote: Since, AFAIK, the fragment identifier is not passed onto the server by the UA, I can't see how an application could be designed with proper noscript degradatio

Re: [whatwg] Offline Web Apps

2007-09-13 Thread Robert O'Callahan
On 9/11/07, Dimitri Glazkov <[EMAIL PROTECTED]> wrote: > > Since, AFAIK, the fragment identifier is not passed onto the server by > the UA, I can't see how an application could be designed with proper > noscript degradation and reliance frament ids for query communication. > > Besides, using query

Re: [whatwg] Offline Web Apps

2007-09-10 Thread Dimitri Glazkov
In fact, interrogating such a form should provide enough information to the UA on what query parameters are and even some of the values of these parameters. On 9/10/07, Dimitri Glazkov <[EMAIL PROTECTED]> wrote: > Since, AFAIK, the fragment identifier is not passed onto the server by > the UA, I c

Re: [whatwg] Offline Web Apps

2007-09-10 Thread Dimitri Glazkov
Since, AFAIK, the fragment identifier is not passed onto the server by the UA, I can't see how an application could be designed with proper noscript degradation and reliance frament ids for query communication. Besides, using query parameters is much more natural for HTML: forms with method=get ar

Re: [whatwg] Offline Web Apps

2007-09-10 Thread Ian Hickson
On Mon, 10 Sep 2007, Aaron Boodman wrote: > On Sep 10, 2007 2:21 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > > > > I still don't understand how you see this working using the same > > codebase both online and offline. The model I'm proposing basically > > relies on the app being an offline app,

Re: [whatwg] Offline Web Apps

2007-09-10 Thread Aaron Boodman
On Sep 10, 2007 2:21 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > I still don't understand how you see this working using the same codebase > both online and offline. The model I'm proposing basically relies on the > app being an offline app, except that while you're online the offline app > is tal

Re: [whatwg] Offline Web Apps

2007-09-10 Thread Ian Hickson
On Mon, 10 Sep 2007, Robert O'Callahan wrote: > On 9/10/07, Ian Hickson <[EMAIL PROTECTED]> wrote: > > > > Why wouldn't you just offline-cache the > >https://bugzilla.mozilla.org/show_bug.cgi?id=389437 > > ...file? > > I might be storing its data in a local database so I can make changes to >

Re: [whatwg] Offline Web Apps

2007-09-10 Thread Robert O'Callahan
On 9/10/07, Ian Hickson <[EMAIL PROTECTED]> wrote: > > Why wouldn't you just offline-cache the >https://bugzilla.mozilla.org/show_bug.cgi?id=389437 > ...file? I might be storing its data in a local database so I can make changes to it locally while I'm offline. Rob -- "Two men owed money to

Re: [whatwg] Offline Web Apps

2007-09-09 Thread Ian Hickson
On Mon, 10 Sep 2007, Robert O'Callahan wrote: > > 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 UR

Re: [whatwg] Offline Web Apps

2007-09-09 Thread Robert O'Callahan
On 9/10/07, Ian Hickson <[EMAIL PROTECTED]> 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 param

Re: [whatwg] Offline Web Apps

2007-09-09 Thread Ian Hickson
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. > Also, when retrofitting an existing app, this r

Re: [whatwg] Offline Web Apps

2007-09-09 Thread Robert O'Callahan
On 9/8/07, Ian Hickson <[EMAIL PROTECTED]> wrote: > > Given that you'd have to radically rewrite the app anyway to use an > offline database instead of just using HTTP, why would we reuse the URI > query syntax feature? It seems like it'd be better (from a consistency > with existing specs point of

Re: [whatwg] Offline Web Apps

2007-09-07 Thread Ian Hickson
On Sat, 8 Sep 2007, Robert O'Callahan wrote: > > Yes. Suppose Bugzilla had offline support. The Bugzilla UI has a bunch > of links it with with different query parameters (e.g., bug numbers). > Bugzilla running offline could take those parameters and use them to > look up a local database and p

Re: [whatwg] Offline Web Apps

2007-09-07 Thread Robert O'Callahan
On 8/24/07, Ian Hickson <[EMAIL PROTECTED]> wrote: > > * Do we really need a way to ignore the query parameters when >fetching and serving from cache when offline? (The idea below assumes >not. I don't really understand the use case if the answer is yes.) Yes. Suppose Bugzilla had offline

Re: [whatwg] Offline Web Apps

2007-09-07 Thread Dimitri Glazkov
Erm. Right. :DG<

Re: [whatwg] Offline Web Apps

2007-09-07 Thread Ian Hickson
On Fri, 7 Sep 2007, Dimitri Glazkov wrote: > > Still reading through... am I right assuming that the shortest attribute > value would be "#", i.e. , pointing to itself? The shortest value would be "", pointing to itself. -- Ian Hickson U+1047E)\._.,--,'``.f

Re: [whatwg] Offline Web Apps

2007-09-07 Thread Dimitri Glazkov
Still reading through... am I right assuming that the shortest attribute value would be "#", i.e. , pointing to itself? :DG<

Re: [whatwg] Offline Web Apps

2007-09-06 Thread Ian Hickson
On Fri, 24 Aug 2007, Maciej Stachowiak wrote: > > I think it's easy to extend Ian's idea in a way that keeps it really > simple for the simple case, but that works better for the multi-page > case or other complex cases where pages load some resources dynamically. > > > > The manifest file wo

Re: [whatwg] Offline Web Apps

2007-08-27 Thread Elliotte Harold
Ian Hickson wrote: Comments? As useful as this would be, I can't help thinking that: 1. It's a huge time sink that will delay the rest of the spec. 2. We simply don't know enough at this point in time to reliably standardize something like this. Keep in mind that most of what this group is

Re: [whatwg] Offline Web Apps

2007-08-24 Thread Dimitri Glazkov
Intuitively, I think I agree with Maciej. Manifest is not as elegant as "participation by association" approach, but it allows for better packaging an application. I am thinking about scripts/stylesheets that are typically a limited set of resources, reused throughout an application. I also don't

Re: [whatwg] Offline Web Apps

2007-08-24 Thread Andrew Fedoniouk
- Original Message - From: "Ian Hickson" <[EMAIL PROTECTED]> To: "Andrew Fedoniouk" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, August 24, 2007 11:39 AM Subject: Re: Offline Web Apps On Fri, 24 Aug 2007, Andrew Fedoniouk wrote: There are two distinct types of applicat

Re: [whatwg] Offline Web Apps

2007-08-24 Thread Maciej Stachowiak
On Aug 23, 2007, at 8:56 PM, Aaron Boodman wrote: On Aug 23, 2007 8:18 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: On Thu, 23 Aug 2007, Maciej Stachowiak wrote: I haven't read over the details but there seems to be an obvious showstopper problem: this won't work for web applications that co

Re: [whatwg] Offline Web Apps

2007-08-24 Thread Ian Hickson
On Fri, 24 Aug 2007, Andrew Fedoniouk wrote: > > There are two distinct types of applications (in context of this topic) > > 1) Online web applications. 2) Occasionally connected web applications (OCWA). > > These two groups differ significantly in their design. > So what exactly you are trying

Re: [whatwg] Offline Web Apps

2007-08-24 Thread Andrew Fedoniouk
- Original Message - From: "Ian Hickson" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, August 23, 2007 6:42 PM Subject: Offline Web Apps (If you reply, please only include one of the mailing lists in your reply. Thanks.) So I read through a

Re: [whatwg] Offline Web Apps

2007-08-23 Thread Ian Hickson
On Thu, 23 Aug 2007, Aaron Boodman wrote: > > The single-page model has other nice advantages. For example, there's > never any confusion about which cache should serve a resource. It's the > one that's associated with the application which the resource is > contained in. Indeed. > Could mult

Re: [whatwg] Offline Web Apps

2007-08-23 Thread Aaron Boodman
On Aug 23, 2007 8:18 PM, Ian Hickson <[EMAIL PROTECTED]> wrote: > On Thu, 23 Aug 2007, Maciej Stachowiak wrote: > > > > I haven't read over the details but there seems to be an obvious > > showstopper problem: this won't work for web applications that consist > > of more than one page. > > Indeed,

Re: [whatwg] Offline Web Apps

2007-08-23 Thread Ian Hickson
On Thu, 23 Aug 2007, Maciej Stachowiak wrote: > > I haven't read over the details but there seems to be an obvious > showstopper problem: this won't work for web applications that consist > of more than one page. Indeed, that was called out as a potential issue. But is that really a problem? I

Re: [whatwg] Offline Web Apps

2007-08-23 Thread Maciej Stachowiak
On Aug 23, 2007, at 6:42 PM, Ian Hickson wrote: IDEA Ok so here's my idea based on the existing ideas, the comments on those ideas, and so forth. One of my main goals was keeping everything as simple as possible. My proposal is that we add a new attribute to the element, which flags

[whatwg] Offline Web Apps

2007-08-23 Thread Ian Hickson
(If you reply, please only include one of the mailing lists in your reply. Thanks.) So I read through all the offline Web app discussions: http://www.whatwg.org/issues/#filesystem http://code.google.com/apis/gears/api_localserver.html http://www.campd.org/stuff/Offline%20Cache.html .