Electron – Framework to Develop Cross-Platform Desktop Apps

Electron is a platform for writing cross-platform Desktop applications using Web technologies — this means, instead of writing your desktop app in languages like C# or Objective C, and using frameworks like Cocoa or WPF, you write your app once in HTML, CSS, and JavaScript.

Traditionally, this approach has had some significant limitations — if your app wanted to do something that wasn’t implemented by the framework or the confines of what a web browser could do, your options were very limited (or even non-existent!). Electron is one of the first platforms that is extensible — adding new native features to the platform can be done via npm modules, either written in JavaScript, or via C++ native node.js modules. Having access to the entire npm ecosystem out of the gate means that Electron can do many things that other platforms got stuck on.

Electron works by combining the Chromium Content Module from the Chromium project, the codebase that powers the Google Chrome browser, and integrating the node.js runtime and standard library, as well as adding APIs of its own as built-in node modules. These modules allow you to interact with the operating system in ways that normal browsers don’t allow, such as being able to create Menu Bar menus or show OS File Open/Save dialogs.

Read more at https://electronjs.org/

Reference – https://slack.engineering/using-es2015-with-electron-introducing-electron-compile-2a0e5ccbadb6

Leave a Comment