Skip to content

Instantly share code, notes, and snippets.

@laurencebradford
Last active August 29, 2015 14:11
Show Gist options
  • Save laurencebradford/e9fa85dcb874e5826457 to your computer and use it in GitHub Desktop.
Save laurencebradford/e9fa85dcb874e5826457 to your computer and use it in GitHub Desktop.
intro to meteor

about me

-- front end (now full stack?) dev, writer, creator of learntocodewith.me

who has heard of meteor?

-- for those who haven’t .. seatbelts

what is meteor?

  • 1st release in 2012
  • fullstack js framework
  • built on node.js
  • instant data = amazing
  • mondo db - NOT relational (json like, schemas)
  • 1.0 since oct 28

how is meteor different from more traditional web apps?

  • backend node.js -- synchronous environment
  • avoid callbacks
  • collections on front end and backend that are the bridge between server and client

front end

  • reactivity , similar to react.js
  • template system -- create html templates
  • curly braces compiled into JS, spacebars help compile
  • similar to ember, but w/ that need react for realtime, and then node backend and then blah blah blah

METEOR IS ALL IN ONE, BABY

personal

"love at first line"

###community awesome, helpful

###web app in 2 minutes … intall meteor here: https://www.meteor.com/install curl https://install.meteor.com/ | sh

  • inspired by Ciara Burkett <3 from meteor.academy BTW ... {windows users!? sorry. use nitrous.io for now … }

create

meteor create myapp

###packages (atmospherejs.com) - meteor add

  • font awesome
  • bootstrap 3
  • sugarjs - “Sugar is a Javascript library that extends native objects with helpful methods. It is designed to be intuitive, unobtrusive, and let you do more with less code.”

$ meteor add mizzao:bootstrap-3 natestrauser:font-awesome digilord:sugarjs

###file structure
(double browser for instance) main.html templates main.js main.css

###deploy!!! $ meteor deploy domain.meteor.com

look, you can delete, too!!


EMAIL ME -- LAURENCE@LEARNTOCODEWITH.ME OR FIND ME ON TWITTER @LEBDEV

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment