
To this end, you will also need the Angular command line tool. I am assuming that you have already installed Node and the npm command line tool. You will hopefully be somewhat familiar with JavaScript and Node. I will sometimes refer to this part of the application as the client because of its similarity to web client applications. In addition, I will be showing you how to process authentication with Okta. The main process will be accessing the file system and reading directory contents. Angular will be providing the user interface and processing the user interactions. The application will be a simple image browser. In this tutorial, I’ll be showing you how to develop a desktop application using Electron and Angular. You can think of an electron application just like a normal web application.

It comes with a powerful JavaScript engine which makes it possible to run all types of modern web applications. Chromium is an open source web browser that is developed by Google and provides the basis for the Chrome browser. The outer thread and the browser thread can communicate via inter-process communication (IPC) functions provided by Electron.

This thread has the usual restrictions of web applications.

Then there is a JavaScript thread that runs within the browser window. An outer thread that runs within Node and has access to Node’s operating system libraries, such as File System and Process libraries. An Electron program consists of two independent JavaScript threads. What is Electron?Įlectron is a JavaScript wrapper around a Chromium web browser. Wouldn’t it be nice if you could develop a desktop application using the tools that you are comfortable with as a web developer? This is where Electron comes into play. They run inside their own process and can easily be added to the dock or start menu.

Direct access to features of the operating system is usually the domain for desktop applications. Web applications have to be run inside a browser and the interoperability with the operating system is limited. But this advantage comes with a number of problems. The advantage of web technologies is, of course, that the same software can be used on many different platforms. So, you have been learning all about web technologies including JavaScript, HTML, and CSS.
