【浏览器&exe桌面应用】用nw.js &Electron -HTML和JavaScript制作exe桌面程序-打造浏览器,查询机客户端,大屏展示客户端

本文介绍了NW.js和Electron两种构建跨平台桌面应用的技术。NW.js结合Chromium和Node.js,允许使用HTML、CSS和JavaScript编写本地应用程序;Electron基于Node.js和Chromium,用于创建使用JavaScript、HTML和CSS的跨平台桌面应用程序。文章提供了两个框架的官网链接及案例教程。

接着前几篇的讲,尝试了不同方案来制作浏览器,今天又网友提出了新的方案,那么我就来简单记录了解下,多几个方案,多几个出路,遇到问题不用慌。

nw.js

官网 https://nwjs.io/

简单介绍

NW.js is an app runtime based on Chromium and node.js. You can write native apps in HTML and JavaScript with NW.js. It also lets you call Node.js modules directly from the DOM and enables a new way of writing native applications with all Web technologies.

特性

  • Apps written in modern HTML5, CSS3, JS and WebGL.
  • Complete support for Node.js APIs and all its third party modules.
  • Good performance: Node and WebKit run in the same thread: Function calls are made - straightforward; objects are in the same heap and can just reference each other.
  • Easy to package and distribute apps.
  • Available on Linux, Mac OS X and Windows.

NW.js构建桌面应用案例

https://www.cnblogs.com/sener/p/8366164.html

Electron

简单介绍

The Electron framework lets you write cross-platform desktop applications using JavaScript, HTML and CSS. It is based on Node.js and Chromium and is used by the Atom editor and many other apps.

electron安装+运行+打包成桌面应用+打包成安装文件+开机自启动

https://www.cnblogs.com/kakayang/p/9559777.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

程序员石磊

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值