MeteorJS 01.2016
-
Upload
hrvoje-kalic -
Category
Technology
-
view
169 -
download
1
Transcript of MeteorJS 01.2016
Made with most dangerous programming language*
by @hkalic (MSC & OSC)
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
HELLO WORLD!
• Easy install from https://www.meteor.com/install• meteor create HelloMSC• cd HelloMSC• meteor• browse http://localhost:3000
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!!!)
The real DEMO
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
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.)
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
KILL ALL DINOSAURS AND USE
special thanks to @guyroyse(sorry for stolen presentation theme)
The One JavaScript Stack to Rule Them All
OUR SPONSORS MADE THIS POSSIBLE!THANK YOU!