Skip to content

Commit

Permalink
Moar edits
Browse files Browse the repository at this point in the history
  • Loading branch information
jlord committed Aug 19, 2016
1 parent 85c75a8 commit fadfcfe
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 13 deletions.
8 changes: 4 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ <h3 id="resources-">Resources:</h3>
<li><a href="https://developers.google.com/web/updates/2016/02/css-variables-why-should-you-care?hl=en">Mozilla Developer Network</a></li>
</ul>
<h2 id="electron-s-two-processes">Electron&#39;s Two Processes</h2>
<p>Electron has two processes: Main and Renderer. There are <span class="def">modules</span> that work on both and some that only work on one of the two.</p>
<p>Electron has two processes: Main and Renderer. There are <span class="def">modules</span> that work on each or both of the two processes. The main process is more behind-the-scenes while the renderer process is each of the windows of your app that users see.</p>
<h3 id="definitions-">Definitions:</h3>
<ul>
<li><strong>Modules</strong> Electron&#39;s APIs are grouped together based on what they do. For instance the <code>dialog</code> module has all the APIs for native dialogs like open file, save file and alerts.</li>
Expand All @@ -123,12 +123,12 @@ <h3 id="resources-">Resources:</h3>
<li><a href="http://electron.atom.io/docs/api/">Electron APIs List</a></li>
</ul>
<h2 id="main-process">Main Process</h2>
<p>Electron has two processes: Main and Renderer. There are <span class="def">modules</span> that work on both and some that only work on one of the two.</p>
<p>The main process is the entry point to every Electron app. It controls the life of the app, from start up to quit. It also does the heavy lifting <span class="def">executing native elements</span> and creating each new browser window, aka renderer process, that users will interact with.</p>
<h3 id="definitions-">Definitions:</h3>
<ul>
<li><strong>Modules</strong> Electron&#39;s APIs are grouped together in modules based on what they do. For instance the <code>dialog</code> module has all the APIs for native dialogs like open file, save file and alerts.</li>
<li><strong>Executing native elements</strong> Opening dialogs and other native operating system interactions is resource intensive so it&#39;s done in the main process, leaving the renderer process uninterrupted.</li>
</ul>
<h3 id="next-main-process-main-process-">Next: <a href="#main-process">Main Process</a></h3>
<h3 id="next-renderer-process-renderer-process-">Next: <a href="#renderer-process">Renderer Process</a></h3>
<h3 id="resources-">Resources:</h3>
<ul>
<li><a href="http://electron.atom.io/docs/api/">Electron APIs List</a></li>
Expand Down
8 changes: 4 additions & 4 deletions index.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Since Electron's two components are websites and Node you'll need experience in

## Electron's Two Processes

Electron has two processes: Main and Renderer. There are <span class="def">modules</span> that work on both and some that only work on one of the two.
Electron has two processes: Main and Renderer. There are <span class="def">modules</span> that work on each or both of the two processes. The main process is more behind-the-scenes while the renderer process is each of the windows of your app that users see.

### Definitions:
- **Modules** Electron's APIs are grouped together based on what they do. For instance the `dialog` module has all the APIs for native dialogs like open file, save file and alerts.
Expand All @@ -97,12 +97,12 @@ Electron has two processes: Main and Renderer. There are <span class="def">modul

## Main Process

Electron has two processes: Main and Renderer. There are <span class="def">modules</span> that work on both and some that only work on one of the two.
The main process is the entry point to every Electron app. It controls the life of the app, from start up to quit. It also does the heavy lifting <span class="def">executing native elements</span> and creating each new browser window, aka renderer process, that users will interact with.

### Definitions:
- **Modules** Electron's APIs are grouped together in modules based on what they do. For instance the `dialog` module has all the APIs for native dialogs like open file, save file and alerts.
- **Executing native elements** Opening dialogs and other native operating system interactions is resource intensive so it's done in the main process, leaving the renderer process uninterrupted.

### Next: [Main Process](#main-process)
### Next: [Renderer Process](#renderer-process)

### Resources:
- [Electron APIs List](http://electron.atom.io/docs/api/)
13 changes: 8 additions & 5 deletions style.css
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
body {
font-family: -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans",
"Droid Sans", "Helvetica Neue", sans-serif;
font-family: 'Source Sans Pro', -apple-system, BlinkMacSystemFont,
'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans',
'Droid Sans', 'Helvetica Neue', sans-serif;
color: #333;
font-size: 1.3em;
line-height: 1.5em;
Expand Down Expand Up @@ -93,8 +93,11 @@ table:first-of-type tbody tr:nth-of-type(odd) {
}

code {
font-family: Consolas, 'Liberation Mono',
Menlo, Courier, monospace;
font-size: .75em;
border: 1px solid #d1d1d1;
padding: 2px 11px 3px 11px;
padding: 4px 11px 3px 11px;
border-radius: 13px;
}

Expand Down

0 comments on commit fadfcfe

Please sign in to comment.