我可以使用哪些网络语言从网络/浏览器应用程序写入磁盘?
我知道 Javascript 无法在用户本地计算机上保存数据,除了面向浏览器的数据(也许有人可以枚举这些数据?)。哪些语言可以写入用户的本地计算机?
我问这个是因为我想制作一个简单的笔记应用程序供自己使用,但我不知道如何保存我所做的笔记......
I know that Javascript is incapable of saving data on a users local machine except for browser-oriented things (perhaps someone could enumerate those?). Which languages can write to a user's local machine?
I ask because I want to make a simple note-keeping application to use myself, but I'm not sure how to save the notes I make...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
首先,如果您要存储的信息足够小,您可以使用javascript编写cookie。否则你需要一些客户端插件:
First, you can write cookies with javascript, if the information you want to store is small enough. Otherwise you'd need some client-side plugin:
TiddlyWiki 是用 Javascript 编写的,它确实会将自身写入本地磁盘。检查来源,看看他们是如何做到的。
http://svn.tiddlywiki.org/Trunk/core/js/FileSystem.js
TiddlyWiki is written in Javascript and it does indeed write itself to local disk. Check the sources to see how they do it.
http://svn.tiddlywiki.org/Trunk/core/js/FileSystem.js
闪存允许进行一些磁盘写入(尽管客户端控制分配多少空间)。 ms active x 对象也为您提供了这种能力,但最终用户必须批准该行为
Flash allows some disk writing (though the client controls how much space is allocated). Also ms active x objects give you this ability, but the end user has to approve the behavior