Skip to content

Commit 166e6f5

Browse files
authored
image centered
1 parent 183ea3c commit 166e6f5

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

2. Tools and Technologies/2023-06-20-Take a Glance at Electron.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ categories: [VSCode, Tools-and-Technologies]
66

77

88
# What is Electron
9+
<div align="center">
10+
<img src="https://github.com/Bistard/vscode-source-code-analysis/assets/38385498/edf7a608-7344-4ad4-804d-106cd84f84e7" alt="image" />
11+
</div>
912

1013
Electron is an open-source framework that allows developers to create cross-platform desktop applications using web technologies like JavaScript, HTML, and CSS.
1114
* It achieves this by leveraging the **Node.js** runtime for back-end functionality and **Chromium** for front-end display.
@@ -27,7 +30,15 @@ Chromium has two types of processes: the **main process** and the **renderer pro
2730
* The main process holds references to all the renderer processes and can create/delete them when necessary.
2831
* Since they are different processes, they cannot access each other’s data directly. The communication between two types of processes is done by an Inter-Process Communication (IPC) system, which is provided by the Electron framework. This section will be discussed in later blogs.
2932

33+
<div align="center">
34+
<img src="https://github.com/Bistard/vscode-source-code-analysis/assets/38385498/afb1645a-65bd-48b2-8da4-44cd1026cc5f" alt="image" />
35+
</div>
36+
37+
3038
# Node.js
39+
<div align="center">
40+
<img src="https://github.com/Bistard/vscode-source-code-analysis/assets/38385498/71b7b3c6-4ad3-43fe-a6f7-9c9562293ec5" alt="image" />
41+
</div>
3142
Node.js is not a programming language, it is an environment that runs on a JavaScript engine (V8 in VSCode's case, which is used in Chromium) and executes JavaScript code outside a browser environment.
3243

3344
It gives us the ability to read and write files outside of the browser since the browser normally cannot achieve IO tasks without asking permission from the users.
@@ -51,6 +62,10 @@ Moreover, with an active community of developers and regular updates, Electron c
5162

5263
Here is a list of applications that are built by Electron:
5364

65+
<div align="center">
66+
<img src="https://github.com/Bistard/vscode-source-code-analysis/assets/38385498/3b507bd4-12d9-4049-b782-c326c860035b" alt="image" />
67+
</div>
68+
5469
# Reference
5570
* https://www.debugandrelease.com/the-ultimate-electron-guide/
5671
* https://www.electronjs.org/docs/latest/tutorial/security

0 commit comments

Comments
 (0)