Transcript Client

MeteorJS
An easy way to do anything
Peter Ilfrich – IBM Research Australia
Overview
Browser
iOS
Android
Client
Server
Persistent Storage
Command Line
MiniMongo in-memory / in-browser database
Blaze templates using mustache tags {{..}}
HTTP support, call to server methods (AJAX)
Session support
NodeJS server, support for server-side methods,
publications, routes and DDP connections to the
client
MongoDB, document-based DB, support for most
query elements, optional packages for
aggregation and “joins”
Create application, add packages, access
database, build for mobile, deployment
Client
Helpers
Templates
Template.foo.helpers()
collection.find()
{{helper}}, {{helper.attribute}}
{{#each}}, {{#if}}
MiniMongo
Events
Meteor.subscribe()
Template.foo.events()
Meteor.call()
Publications
Methods
Server
Mobile
Xcode
Simulator
Android Studio
AppStore
Simulator
iOS xcodeproj
Device
AppStore
Android apk
Cordova
JavaScript
Client CSS
Compiled Templates
Client-only JS
Shared JS
Server
Client
Tracker / Autorun
Configuration
Security
Methods
Publications
DB Initialization
DB Migration
Meteor.methods()
Meteor.publish()
MongoDB
Command Line
Create Project
Add & Remove Packages
Start Server
Access Database
Reset Project
Add Mobile Platform
Bundle for Mobile
Deploy to meteor.com
meteor create <appname>
meteor add|remove <packagename>
meteor [--port xxxx]
meteor mongo
meteor reset
meteor add-platform <platform>
meteor build [--server http://..]
meteor deploy
Packages
Shared Packages
Routing
iron:router
Mobile Packages
mdg:geolocation
mdg:camera
Data
reactive-var
tmeasday:publish-counts
aldeed:collection2
Authentication
accounts-password
Utilities
momentjs:moment
johdirr:meteor-git-rev
Client-Side Packages
Basics
jquery
mizzao:bootstrap-3
fortawesome:fontawesome
Visualization
peernohell:c3
sergeyt:d3
dburles:googlemaps
Server-Side Packages
email
browser-policy
nimble:restivus
Utilities
less
mrt:filesaver
http