- From: duanyao <duanyao@ustc.edu>
- Date: Wed, 19 Apr 2017 11:45:20 +0800
- To: Ian Hickson <ian@hixie.ch>, Ashley Sheridan <ash@ashleysheridan.co.uk>, whatwg@lists.whatwg.org, Roger Hågensen <rh_whatwg@skuldwyrm.no>
在 2017年04月19日 02:23, Ian Hickson 写道: > The main thing that seems to be missing from this thread is any > commitment from any browser vendors to actually support any changes in > this space. Yes, and I had been pessimistic about that even before I join this thread. Actually I join the discussion mainly to see whether there are some convincing reasons for web standards and browsers to ignore local files. It is more than welcome if browser vendors would like to comment on this. Something already mentioned: * Local files are against the philosophy of the Web. Then the problem is what is the philosophy of the Web exactly and why -- seems still unclear. * Accessing local files from local files with JavaScript is insecure. Some solutions (including mine) are discussed and I think this is solvable. Please comment if anyone think otherwise. * Accessing local files is not portable. I think with some best practices in mind a local web app can be quite portable. I'd like to see counterexamples if anyone has some. * A local http server could be an alternative. Problems of a local http server have been discussed in detail. * Electron/NW.js etc. could be alternatives. It is overkill to ship a small web app with a large runtime, especially when the advanced desktop features are not needed. The enoumous man power devoted to Electron/NW.js and similar projects is a signal that local web app is relevant. Something not mentioned here, just my guess: * Local web app is against the business model of current Internet. Please consider users first. * Cloud is the future, local files will become irrelevant. Seems premature, and there are people who feel unconfortable to cloudize all personal data and workflow. > I would recommend the following steps for anyone hoping to push > changes to Web specifications on this topic: > > - Approach Web browser vendors privately, to see if they are > interested in changing their behaviour in this space. I've no such private link. > > - If you find interest, collect up the use cases that you want to > address, and post them to this list for discussion. > > - Collect the input on use cases and try to design a solution that > fits all the important use cases, then send an an e-mail to this list > proposing a basic design. These have been a lot of discussion on that in this thread. Do you think writing a more formal document would be helpful? > > Cheers, > -- > Ian Hickson > -- > > -- > Ian Hickson > > 😸
Received on Wednesday, 19 April 2017 03:47:12 UTC