Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Desktop JS — Empire JS 2016

Desktop JS — Empire JS 2016

Desktop JS — Electron and building applications on the desktop, with Javascript.

Evan Morikawa

May 27, 2016
Tweet

More Decks by Evan Morikawa

Other Decks in Programming

Transcript

  1. Chromium Browser aka Backend aka Main Process C++ Renderer Renderer

    Renderer HTML / JS (DOM) HTML / JS (DOM) HTML / JS (DOM)
  2. Chromium Browser aka Backend aka Main Process C++ Renderer Renderer

    Renderer HTML / JS (DOM) HTML / JS (DOM) HTML / JS (DOM) ipc
  3. Browser aka Backend aka Main Process Renderer Renderer Renderer HTML

    / JS (DOM) HTML / JS (DOM) HTML / JS (DOM) ipc
  4. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail
  5. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail
  6. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail Jasnkbusting | Worker windows
  7. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail Jasnkbusting | Worker windows
  8. const q = `SELECT * FROM threads WHERE …` Rx.Observable.fromQuery(q)

    .filter(myFn).subscribe((threads) => { this.setState({threads}) })
  9. const q = `SELECT * FROM threads WHERE …` Rx.Observable.fromQuery(q)

    .filter(myFn) .map(mapFn).subscribe((threads) => { this.setState({threads}) })
  10. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail SQL | Observables | Task Jasnkbusting | Worker windows
  11. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail Jasnkbusting | Worker windows SQL | Observables | Task
  12. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail React | Components as “data” Jasnkbusting | Worker windows SQL | Observables | Task
  13. Desktop JS 1. “Native” experience 2. Performance 3. Data Storage

    & Offline 4. Plugins & Extensibility Native extensions | Cross-platform CSS | Retina Detail Jasnkbusting | Worker windows SQL | Observables | Task React | Components as “data”