Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Intro to Meteor.js

Intro to Meteor.js

Brian Donghee Shin

October 07, 2014
Tweet

Other Decks in Programming

Transcript

  1. Intro to Meteor.js B R I A N S H

    I N | A D I C U . C O M / R E S O U R C E S
  2. Meteor.js • a full stack web framework • reactive -

    good for realtime applications (chat) • all in Javascript
  3. It’s all Javascript var button = $(“.button”); var currentTime =

    Date.now(); button.click(function() { alert(“Button pressed at ” + currentTime); // Save to database??? });
  4. It’s all Javascript var ButtonTracker = new Mongo.Collection(); var button

    = $(“.button”); var currentTime = Date.now(); button.click(function() { alert(“Button pressed at ” + currentTime); ButtonTracker.insert({‘currentTime’: currentTime}); });
  5. Client and Server run the same code* var ButtonTracker =

    new Mongo.Collection(); var button = $(“.button”); var currentTime = Date.now(); button.click(function() { alert(“Button pressed at ” + currentTime); ButtonTracker.insert({‘currentTime’: currentTime}); });
  6. Courses by ADI • Awesome packages • Users, Facebook, Twitter

    Login included • Code sharing between backend and frontend
  7. Thanks for coming! A D I C U . C

    O M / R E S O U R C E S