-- Stand back while Meteor does its thing --
Adrian Liaw
SERVER
Publish DB
Define Meteor methods
(Can be invoke
over the network
by clients)
CLIENT
Routing
Live templating
Subscribe DB
Handle events
Sessions
HTTP Request
HTTP Response
(Raw html templates)
Live updating
Live updating
DDP
{type: "json"}
Posts.insert({text: "Hello!"})
Simulates the update immediately
Sends JSON to the server by DDP
Real update
001001010010
100100010100
110111010010
Broadcast to all clients
$ curl http://install.meteor.com/ | sh
$ meteor create mycoolapp
$ cd mycoolapp
$ meteor
$ meteor create --example todos
$ cd todos
$ meteor
$ meteor deploy xxxxx.meteor.com