What is NW.js?

青灯夜游
Release: 2019-05-23 18:19:32
Original
23797 people have browsed it

What is NW.js?

NW.js is a framework for building cross-platform desktop applications using web development technologies (HTML, CSS and JavaScript). It was created by Roger Wang at the Intel Open Source Technology Center in China and combined the Node.js programming framework with the Chromium (then) browser engine - Webkit, hence the original name Node Webkit.

What can NW.js do?

NW.js is based on Chromium and Node.js. It allows us to call Node.js code and modules directly from the browser and use web technologies in our applications. Furthermore, we can easily package web applications into native applications.

NW.js provides a JavaScript API for interacting with the operating system so that we can do the following:

● Control the size and behavior of the application window

● Use the menu item to display the native toolbar in the application window

● Right-click the context menu in the application window area

● Add a tray application to the operating system's tray menu Item

●Access the operating system clipboard; read content and even set content

● Use default applications to open files, folders and URLs on your computer

● Via the operating system The notification system inserts notifications.

Benefits of using NW.js:

1) A new way to write native applications with the web’s most popular technology

2 ) Written based on HTML5, CSS3, JS and WebGL

3) Fully supports all nodejs APIs and third-party modules

4) You can use DOM to directly call nodejs modules

5 )Easy to package and distribute

6)Supports running environments including 32-bit and 64-bit Window, Linux and Mac OS

The above is the detailed content of What is NW.js?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!