Most of Electron's APIs are written in C++ or Objective-C and are exposed directly to the application code through JavaScript bindings. menus, shell commands, lifecycle events), and can then launch multiple renderer processes by instantiating an instance of the BrowserWindow class, which loads a window that appears on the screen by rendering HTML and CSS.īoth the main and renderer processes can run with Node.js integration if the nodeIntegration field in the main process is set to true. The main process runs the logic for the application (e. Architecture Įlectron applications include a "main" process and several "renderer" processes. It also uses various APIs to enable functionality such as native integration with Node.js services and an inter-process communication module.Įlectron was originally built for Atom and is the main GUI framework behind several open-source projects including Atom, GitHub Desktop, Light Table, Visual Studio Code, WordPress Desktop and Eclipse Theia. The framework is designed to create desktop applications using web technologies (mainly HTML, CSS and JavaScript, although other technologies such as front-end frameworks and WebAssembly are possible) that are rendered using a version of the Chromium browser engine and a back end using the Node.js runtime environment. C++, JavaScript, Objective-C++ and Objective-CĮlectron (formerly known as Atom Shell ) is a free and open-source software framework developed and maintained by OpenJS Foundation.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |