开发跨平台独立 HTML 应用程序
我正在考虑构建一个应用程序,有点像 TiddlyWiki ,一切都独立于 HTML 文件中,或者至少在用户不必安装任何东西的捆绑包中。它几乎适用于任何浏览器、手机(Android 和 iPhone)以及某些浏览器(例如 Firefox),无需插件即可成功保存到本地文件系统(尽管它会发出许多安全警告,但还有其他警告)的解决方案)。其他浏览器恰好使用 Java 插件来绕过此限制。
是否有任何现有技术可以实现这一点? HTML5 的 网络存储 听起来几乎是完美的,只是数据将与浏览器绑定。
任何帮助将不胜感激(即使这只是意味着编辑/重新标记问题以吸引更多人查看)。
I am thinking of building an application, kind of like TiddlyWiki in the sense that everything is self-contained in an HTML file, or at least in a bundle where a user won't have to install anything. It works on just about any browser, and on mobile phones (Android and iPhone), and in some browsers (e.g. Firefox), manages to save to the local filesystem without a plugin (albeit, it launches many security warnings, but there are other solutions for that). Other browsers happen to use a Java plugin to bypass this restriction.
Are there any technologies that exist that make this possible? HTML5's web storage sounds like it would be almost perfect, except that the data would be tied to the browser.
Any assistance would be appreciated (even if that just means editting / retagging the question to get more folks looking).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
fileapi 怎么样: http://caniuse.com/#search=fileapi
Whats about the fileapi: http://caniuse.com/#search=fileapi
我只是添加相关评论,但不完全是答案...
当您说您想要开发包含所有内容的应用程序...那么我想添加有关 钛、PhoneGap 和其他 (Corona)...
该软件提供了 JavaScript 基础,它将在所有移动设备(如果是移动应用程序)、桌面设备(如果是桌面应用程序)等上运行......但是 Titanium(正如我正在开发的那样)可以在所有其他设备的 SDK 上运行用于开发的语言...
现在 TiddlyWiki,我从链接中了解到它正在创建一个网络应用程序或类似的东西,可以在所有其他移动设备上运行。但这并不总是好的,因为某些应用程序需要本机环境(钛支持)。本机应用程序将比任何其他开发的应用程序快得多。
I am just adding a relevant comment with this but not exactly an answer...
When you are saying that you want to develop application which contains everything... Then I would like to add about Titanium, PhoneGap, and others (Corona)...
This softwares provides JavaScript base which will be running on all the mobiles (if mobile applications), desktops (if desktop applications) and so on.... But Titanium (as i am working on it) works on the SDK of all the other languages for development...
Now TiddlyWiki, what i have understood from the link is that it is creating a web application or something like that which will work on all the other mobile devices. But this is NOT Good always, Since some application needs to be a NATIVE environment (which is supported by Titanium). Native applications will be much more faster than any other developed applications..