我想用 javascript(使用网络技术)编写一个桌面应用程序,并寻找 Electron 和 Chrome 应用程序之间的比较.
I want to program a desktop app in javascript (with web technologies) and looked for a comparison between Electron and Chrome Apps.
我需要的一切似乎都可以通过 Chrome 应用程序实现,但是围绕 Electron/NW.js 有很大的炒作.电子的优势是什么?是不是 Node 包太多?
Everything I need seems to be possible with Chrome Apps, but there's a big hype around Electron/NW.js. What are the advantages of Electron? Is it due to the large amount of Node packages?
我认为功能差异对我来说很清楚.
I think the functional differences are clear to me.
优缺点如下:
+ Chrome Apps can run on Chrome OS
- Chrome Apps needs an installed Chrome Browser
...
正如 Eduardo 指出的那样,Google 宣布 他们将停止除 ChromeOS 之外的所有平台的 Chrome 应用程序.所以我认为这个问题的答案现在很明显了.
As Eduardo pointed out, Google announced that they'll discontinue Chrome Apps for all platforms except ChromeOS. So I think the answer to this question is obvious now.
对于所有开发了 Chrome 应用程序并有兴趣将其迁移到网络的人,这里有一份来自 Google 的指南:https://developers.chrome.com/apps/migration
或者,正如谷歌也提到的,你将它迁移到 Electron 或 NW.js.
Or, as Google also mentioned, you migrate it to Electron or NW.js.
您可以完全比较electron和chrome打包的应用程序.它们非常相似.对于他们两个,你都会得到:
You can totally compare electron and chrome packaged Apps. They are very similar. For both of them you get:
以下是区别:
Google 最近似乎在 ChromeOS 以外的任何平台上弃用了 Chrome 应用程序.所以我会说它不再是一个有效的选择.
It seems Google recently deprecated Chrome Apps on any platform other than ChromeOS. So I'd say it's no longer a valid option.
http://blog.chromium.org/2016/08/from-chrome-apps-to-web.html
这篇关于与 Electron 相比,Chrome 应用程序的优缺点是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!