Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates &...

21
Meteor

Transcript of Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates &...

Page 1: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Meteor

Page 2: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Hello!I’m @Rahul

Page 3: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client
Page 4: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Happy Placefor Nerds

Page 5: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client
Page 6: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client
Page 7: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Winner of “Best Workplace 2013” from Great Place to Work

Page 8: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Rijksmuseum9292

Philips HueStaatsloterij

my.utwente.nl

handcraft.comquento.com

carrrds.nl

Page 9: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Let's learn Meteor!

Page 10: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Realtimefull-stack

web applicationplatform

Page 11: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client
Page 12: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Not your average github project

Open-sourceVenture-backed ($11m)

Launched April 2012

Page 13: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Open source foundations

Node.jsMongodb

Handlebars.js

Page 14: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Some original mechanics

DDPSpark/Livedata

Minimongo

Page 15: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

A few principles

Reactive templates & data sourcesLatency compensationJavascript everywhere

The same API on client & serverHot Code Pushes

Page 16: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

How we use Meteor

Page 17: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Coding time!

Page 18: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Case: Live voting

● How do you get started?● How does Meteor help?

○ Data syncing○ Live DOM updates○ Reactive data

● Fill table from database● Sorting● Voting

○ Restrict to logged in users (Twitter)○ Max 1x vote?

● Share work with others

Page 19: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

http://meteor.com● Screencast:

http://meteor.com/screencast● Docs:

http://docs.meteor.com● Stack Overflow: http://stackoverflow.

com/tagged/meteor● Demo code:

http://github.com/primigenus/meteor-demo/tree/utwente

More about Meteor

Page 20: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

Meteor meetupsin The Hague at Q42:

http://meetup.com/meteor-haag

Page 21: Meteor - Universiteit Twente · DDP Spark/Livedata Minimongo. A few principles Reactive templates & data sources Latency compensation Javascript everywhere The same API on client

twitter.com/q42facebook.com/q42bv

twitter.com/[email protected]

Intern? Graduation project?Looking for a job? Want a cup of coffee?

Mail, tweet, or send a pull request!