meteorjs 01.2016

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

Upload: hrvoje-kalic

Post on 14-Apr-2017

171 views

Category:

Technology


1 download

TRANSCRIPT

Page 2: MeteorJS 01.2016

THE JAVASCRIPT APP PLATFORM Javacsript full-stack platform 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: MeteorJS 01.2016

HELLO WORLD!

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

Page 4: MeteorJS 01.2016

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 angular, react (since v1.2) msavin:mongol xolvio:cucumber, mike:mocha, sanjo:jasmine (with

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

Page 5: MeteorJS 01.2016

The real DEMO

Page 6: MeteorJS 01.2016

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: Galaxy, Compose, Modulus, DigitalOcean, Cloud9

Page 7: MeteorJS 01.2016

DO I REALLY NEED THIS? Shorter development time Did I said Isomorphic JavaScript everywhere ES2015 (ES6) Backed by MDG (over $30M in investment) „Cloud” resource friendly (source: Meteor community) Clustering - meteorhacks:cluster, Passenger (nginx) Galaxy – pro deployment and management „Meteor Developer Subscription” – MDG support 11th most stared project on Github (18.1.2016.)

Page 8: MeteorJS 01.2016

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: MeteorJS 01.2016

KILL ALL DINOSAURS AND USE

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

The One JavaScript Stack to Rule Them All

Page 10: MeteorJS 01.2016

OUR SPONSORS MADE THIS POSSIBLE!THANK YOU!