+ - 0:00:00
Notes for current slide
Notes for next slide

Meteor for Dummies

The 1.3 Recap

Carsten Meier
carsten.meier@peerigon.com
1 / 31
Meteor for Dummies
Web&Wine

Carsten Meier

  • Frontend Developer at Peerigon
  • Passion for Mobile & IoT
  • Open Source Developer
2 / 31
Meteor for Dummies
Web&Wine

  • We do JavaScript
  • Open Web!
3 / 31
Meteor for Dummies
Web&Wine

Agenda

  • What is Meteor about
  • The Ecosystem
  • The Past
  • Common Misconceptions
  • Why 1.3 rocks
  • The Future
4 / 31
Meteor for Dummies
Web&Wine

What is Meteor about

"The JavaScript App Platform"

5 / 31
Meteor for Dummies
Web&Wine

It Really is a Platform!

6 / 31
Meteor for Dummies
Web&Wine

Meteor makes stuff easy for you by abstraction

7 / 31
Meteor for Dummies
Web&Wine

All it takes is a single command to install all of it!

curl https://install.meteor.com/ | sh
8 / 31
Meteor for Dummies
Web&Wine

What? and How? (Full Stack / 1)

  • Universal JavaScript WebApps

  • Data exchange via DDP (Distributed Data Protocol) over WebSockets

    • Open protocol, keeps your data in sync
    • Supports Remote Procedure Calls (RPC)
    • Publish/subscribe model
    • Built-in latency compensation and conflict resolution
9 / 31
Meteor for Dummies
Web&Wine

What? and How? (Full Stack / 2)

  • Unified database API on server and client

    • MongoDB and MiniMongo
  • State management by reactivity

    • If a data source changes, the affected code is rerun automattically
    • Works on client and server!
10 / 31
Meteor for Dummies
Web&Wine

What? and How? (Toolchain)

  • All goodies work out of the box
    • Babel, Uglify, NPM, bundling
    • HTTP server, automatic rebuild/reload
    • Cordova (1-click export for Android & iOS)
11 / 31
Meteor for Dummies
Web&Wine

Now is that cool or what?

12 / 31
Meteor for Dummies
Web&Wine

What can (or should) I use it for

  • Highly interactive WebApps
  • Rapid prototyping
  • Mobile apps
13 / 31
Meteor for Dummies
Web&Wine

The Meteor Ecosystem

14 / 31
Meteor for Dummies
Web&Wine

Ecosystem

  • Atmosphere.js

    • Package management (like NPM)
  • Meteor Galaxy

    • Cloud hosting
15 / 31
Meteor for Dummies
Web&Wine

Meteor: the past

or: the errors of our youth

16 / 31
Meteor for Dummies
Web&Wine

Meteor: the past

Meteor tried to solve everything

17 / 31
Meteor for Dummies
Web&Wine

Meteor: the past

The ecosystem could not keep up with the rest
(esp. NPM)

18 / 31
Meteor for Dummies
Web&Wine

Meteor: the past

Development was not fast enough,
they got overrun by Babel, React & Webpack

19 / 31
Meteor for Dummies
Web&Wine

Common Misconceptions

20 / 31
Meteor for Dummies
Web&Wine

Common Misconceptions

  • I can only integrate packages from Atmosphere.js
    • 1.3 brings NPM support via import
21 / 31
Meteor for Dummies
Web&Wine

Common Misconceptions

  • I need to use Blaze
    • You can use any frontend framework you want
    • Meteor integrates well with React, Angular, Vue
22 / 31
Meteor for Dummies
Web&Wine

Common Misconceptions

23 / 31
Meteor for Dummies
Web&Wine

Why 1.3 rocks

24 / 31
Meteor for Dummies
Web&Wine

Why 1.3 rocks

  • NPM support
  • ES2015 with Babel out of the box (server & client)
25 / 31
Meteor for Dummies
Web&Wine

Why 1.3 rocks

  • Better integration of popular frontend frameworks
  • Build system is blazing fast again
  • Still backwards compatible
  • Full stack testing
26 / 31
Meteor for Dummies
Web&Wine

Why 1.3 rocks

  • It is still in the release phase (RC 5),
    watch out for bugs
  • Watch the GitHub issues
27 / 31
Meteor for Dummies
Web&Wine

DEMO TIME

28 / 31
Meteor for Dummies
Web&Wine

Meteor: the future

29 / 31
Meteor for Dummies
Web&Wine

Meteor: the future

  • Upgrade from ancient Node.js to LTS-next (v6)
  • package.json
  • .meteorignore
30 / 31
Meteor for Dummies
Web&Wine

Thank you

Carsten Meier
carsten.meier@peerigon.com

31 / 31
Meteor for Dummies
Web&Wine

Carsten Meier

  • Frontend Developer at Peerigon
  • Passion for Mobile & IoT
  • Open Source Developer
2 / 31
Paused

Help

Keyboard shortcuts

, , Pg Up, k Go to previous slide
, , Pg Dn, Space, j Go to next slide
Home Go to first slide
End Go to last slide
b / m / f Toggle blackout / mirrored / fullscreen mode
c Clone slideshow
p Toggle presenter mode
t Restart the presentation timer
?, h Toggle this help
Esc Back to slideshow