The document is a presentation about reactive JavaScript using Meteor. It introduces Meteor and provides a demo of creating a chat application with Meteor. Key points:
- Meteor is a full-stack JavaScript framework that allows building reactive web applications and works across browsers and mobile.
- It is built on Node.js and uses a distributed database with publish-subscribe to sync data in real-time.
- A demo shows how to quickly create a chat application with Meteor by installing it and generating a project scaffold.
- Meteor uses hot code reload, optimistic UI updates, and other features to make developers more productive.
2. Who Am I? The Cloud Juggler
Senior Software Engineer at
We do logs in cloud:
supercharged grep | awk in the browser
Google for your internal infrastructure
Meteor is my hobby. I dont use it at my day job.
4. Tl;dr: History of the Web
1970s Client-Server Model
1990s Web: Http, Html
2010s WebApps, Mobile
5. How did we get there? Humble beginning.
Initial web: text with links
JavaScript: created in 10 days
Lots of tricks:
AJAX, Long polling, ...
6. How did we get there? Natural selection.
Java applets vs. JavaScript
XHTML vs. HTML5
Flash vs. Open standards
Browser wars
7. How did we get get there? Lots of money put in.
Dotcom boom (1990s), lots of
multibillion companies based
on web (e.g. Google, Facebook).
JavaScript is the fastest
dynamic language.
Browsers are like OS.
8. Can we learn to fly by jumping higher?
Evolution created humans.
Humans created cars,
planes, nuclear weapons,
space rockets...
9. What would be the ideal web framework?
Full-stack JavaScript.
All platforms: browsers and mobile.
Reactive by default.
Makes developers 10x productive.
Websites are applications.
13. Meteor: under the hood
Built on top of Node.js
Distributed database: publish-
subscribe
Templating (also supports Angular
and React)
Package system (also supports Npm)
Node.js +
MongoDB
Chrome Safari
15. Meteor: complete solution for connected apps
Django, Rails, etc. -> server frameworks
React, Angular -> client templating and components
Node.js -> JavaScript event based server
16. Meteor: why now?
Connected devices are
powerful.
Consumer applications sets a
high bar (e.g. Facebook, Uber).
We are expected to get a lot of
done with less time (see
software salaries).
17. Built your next app in Meteor
1. Visit https://www.meteor.com/
2. $ curl https://install.meteor.com/ | sh
3. Create something!