meteor - intro

10
Made with most dangerous programming language* by @hkalic (MSC & OSS)

Upload: hrvoje-kalic

Post on 14-Apr-2017

239 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Meteor - intro

Made with most dangerous programming language*

by @hkalic (MSC & OSS)

Page 2: Meteor - intro

THE JAVASCRIPT APP PLATFORM Full-stack framework for web and mobile apps (open

source) Isomorphic Javascript – the same code on all

browsers and mobile devices on server and client (NodeJS* of course)

Reactive rendering (Blaze*, AngularJS, ReactJS) Full stack database with latency compensation -

Mongo* (v3 with WireShark), Redis (coming soon), Postgres (SQL support, prototype stage)

Live-updating clients with DDP (Rest for Websockets)

* default install

Page 3: Meteor - intro

HELLO WORLD!

• Easy install from https://www.meteor.com/install• meteor create HelloKD• cd HelloKD• meteor• browse http://localhost:3000

Page 4: Meteor - intro

METEOR PACKAGES - ATMOSPHEREJS.COM

accounts-password, accounts-ui (OAuth with Google, Facebook, Twitter...)

iron:router, kadira:flow-router aldeed:simple-schema, aldeed:autoform,

aldeed:collection2 urigo:angular, react (in v1.2) msavin:mongol xolvio:cucumber, mike:mocha, sanjo:jasmine (with

Velocity) http, email, sha, mdg:camera, mdg:geolocation Npm.require (Hello!!!)

Page 5: Meteor - intro

The real DEMO

Page 6: Meteor - intro

DEPLOYMENT

On Meteor’s infrastructure: meteor deploy myapp.meteor.com

On your own infrastructure:meteor bundle my_directory (copy tar, provide Node.js and MongoDB)

In Cloud: Compose, Modulus, DigitalOcean, Cloud9, Galaxy

Page 7: Meteor - intro

DO I REALLY NEED THIS? Shorter development time Did I said Isomorphic JavaScript everywhere ES2015 in v1.2 Backed by MDG (over $30M in investment) „Cloud” resource friendly (source: Meteor community) Clustering - meteorhacks:cluster, Passenger (nginx) Galaxy (ask for beta access) – pro deployment and

management „Meteor Developer Subscription” – MDG support 9th most stared project on Github

Page 8: Meteor - intro

Really easy with Apache Cordova (out of box)

1. meteor create theApp2. meteor add-platform ios (or android)3. Edit mobile-config.js4. meteor run ios (or android) – test in emulator

MOBILE APPS

Page 9: Meteor - intro

KILL ALL DINOSAURS AND USE

special thanks to @guyroyse(sorry for stolen presentation theme)

The One JavaScript Stack to Rule Them All

Page 10: Meteor - intro

OUR SPONSORS MADE THIS POSSIBLE!THANK YOU!