On Thursday, April 7, 2016 at 2:26:06 PM UTC+2, Mat wrote: > > I have way too many question threads going on to really post another > thing... but I just stumbled over this and figure it might be valuable. > > http://codepen.io/KryptoniteDove/post/load-json-file-locally-using-pure-javascript > ...as in TW widget to read/write to local json files using standard TW? >
Reading files from a directory or the web has always been relatively straight forward. ... Writing is the crux! Users expect if an app can read content from a file / directory, it needs to work from the web too. Which is fine. But local access only works, because the browsers make it happen. If you want to read files from the web, you need a file server software running on the server. The client has no direct access to the host file system, as in the local setting. ... So the mechanisms involved locally and the web only look the same but technically they are very different. As soon as writing stuff back to the hard disk, or the web, the situation becomes much more complex, because of security concerns and restrictions. -mario -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/4b099358-370d-4a98-894e-96b03fbd7b31%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
