JavaScript的桌面应用程序? [英] JavaScript desktop applications?

查看:124
本文介绍了JavaScript的桌面应用程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有可能在JavaScript创建Windows桌面应用程序?

Is it possible to create Windows desktop applications in JavaScript?

我知道HTA(HTML应用程序)的程序,但不知道是否有一个较新的.NET解决方案,我可以利用库包含在Visual Studio中的DLL。

I am aware of HTA (HTML Application) programs, but was wondering if there were a newer .NET solution where I could make use of the DLL libraries included with Visual Studio.

推荐答案

最新.NET版本没有这样的功能,但你的选择来做到这一点:

Latest .NET version doesn't have such feature, but you've options to do it:

一)在WPF中的WebBrowserObject或Windows窗体应用程序(这将是一个嵌入式的Internet Explorer)。

a) A WebBrowserObject in a WPF or Windows Forms application (it'll be an embedded Internet Explorer).

B)的Opera Widget,这是Opera浏览器为基础的presentation引擎,它可以让您实现桌面应用程序使用标准的Web技术,它遵循W3C标准的小部件。这些应用程序可以独立运行,这意味着用户不需要打开歌剧运行它们。有一个对应:歌剧必须安装在用户的计算机

b) Opera Widgets, which is a Opera browser-based presentation engine which lets you implement desktop applications with standard Web technologies and it follows the W3C widgets standard. These applications can run standalone, meaning that user won't need to open Opera to run them. There's a counterpart: Opera must be installed in user's machine.

还有一些其他选项,如Mozilla的XUL,但其桌面应用程序开发的支持有限将prevent你使用它。

There're other options like Mozilla XUL but its limited support for desktop application development would prevent you from using it.

这篇关于JavaScript的桌面应用程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆