Main & render process


#1

Hello,

am I right if I thnk that the main.js (main process) is the server in a webapp with ExpressJS?

Thanks


#2

No, there is no relation between the main and renderer processes and a web server and web client because there is no HTTP(S) connection in use. The main process is the part of your code that communicates directly with the underlying operating system and the renderer process is the part of your code that runs inside an open BrowserWindow.

For more information, see the documentation:

http://electron.atom.io/docs/tutorial/quick-start/#differences-between-main-process-and-renderer-process