简体   繁体   English

开发跨平台自包含 HTML 应用程序

[英]Developing a cross-platform self-contained HTML application

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.我正在考虑构建一个应用程序,有点像TiddlyWiki ,因为所有内容都包含在 HTML 文件中,或者至少在用户无需安装任何东西的包中。 It works on just about any browser, and on mobile phones (Android and iPhone), and in some browsers (eg Firefox), manages to save to the local filesystem without a plugin (albeit, it launches many security warnings, but there are other solutions for that).它适用于几乎任何浏览器,手机(Android 和 iPhone),以及某些浏览器(例如 Firefox),无需插件即可保存到本地文件系统(尽管它会发出许多安全警告,但还有其他解决方案)。 Other browsers happen to use a Java plugin to bypass this restriction.其他浏览器碰巧使用 Java 插件绕过此限制。

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. HTML5 的web 存储听起来几乎是完美的,除了数据将绑定到浏览器。

Any assistance would be appreciated (even if that just means editting / retagging the question to get more folks looking).任何帮助将不胜感激(即使这只是意味着编辑/重新标记问题以让更多人看到)。

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...当您说要开发包含所有内容的应用程序时...然后我想补充一下TitaniumPhoneGap和其他(Corona)...该软件提供了 JavaScript 基础,它将在所有手机上运行(如果移动应用程序),桌面(如果是桌面应用程序)等等......但是Titanium(正如我正在研究的那样)适用于所有其他开发语言的SDK......

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.现在 TiddlyWiki,我从链接中了解到的是它正在创建一个 web 应用程序或类似的应用程序,它可以在所有其他移动设备上运行。 But this is NOT Good always, Since some application needs to be a NATIVE environment (which is supported by Titanium).但这并不总是好的,因为某些应用程序需要是 NATIVE 环境(由 Titanium 支持)。 Native applications will be much more faster than any other developed applications..本机应用程序将比任何其他开发的应用程序快得多。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM