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

Meteor Lighting Talk - Lessons Learned About Me...

Meteor Lighting Talk - Lessons Learned About Meteor

Meteor TLV meetup, Lighting Talk - Lessons Learned About Meteor

Almog Koren

October 24, 2014
Tweet

More Decks by Almog Koren

Other Decks in Programming

Transcript

  1. 24 1 Presentation by Almog Koren • Oct 21, 2014

    METEOR A better way to build apps.
  2. 24 2 Presentation by Almog Koren • Oct 21, 2014

    Frontend developer, MeteorJS / NodeJS Hacker Formerly founder of Scoreoid Developer / Entrepreneur Almog Koren Speaker / Evangelist Speak at events like Casual Connect Kiev, GameIS, ect.. Scuba Diver & Rock Climber Who Am I?
  3. 24 4 Presentation by Almog Koren • Oct 21, 2014

    •  Goal – build a real world production app using Meteor •  https://linklyapp.com/
  4. 24 5 Presentation by Almog Koren • Oct 21, 2014

    METEOR PUBLISH & SUBSCRIBE •  The base for everything. •  Always start with this. •  Security, security •  Meteor (mongo) find starts with this.
  5. 24 6 Presentation by Almog Koren • Oct 21, 2014

    EXAMPLES •  Use id’s •  Mongo operators & fields
  6. 24 7 Presentation by Almog Koren • Oct 21, 2014

    MONGO FIND •  Used everywhere and all the time. •  Learn mongo operators. •  Client and server •  Remember only what is published is return.
  7. 24 8 Presentation by Almog Koren • Oct 21, 2014

    EXAMPLES •  Simple find •  Client side
  8. 24 9 Presentation by Almog Koren • Oct 21, 2014

    EXAMPLES •  $in •  Learn them all very well - http://bit.ly/1huk2NU
  9. 24 10 Presentation by Almog Koren • Oct 21, 2014

    IRON-ROUTER •  Use controllers. •  waitOn function •  onBeforeAction •  Subscribe •  Limits
  10. 24 11 Presentation by Almog Koren • Oct 21, 2014

    EXAMPLES •  waitOn, onBeforeAction, Subscribe
  11. 24 12 Presentation by Almog Koren • Oct 21, 2014

    EXAMPLES •  Controller, limit
  12. 24 13 Presentation by Almog Koren • Oct 21, 2014

    COLLECTION2 & AUDIT-ARGUMENT-CHECKS •  A must for the DB not built in. •  Easy to setup. •  Do it as soon as you start.
  13. 24 16 Presentation by Almog Koren • Oct 21, 2014

    METEOR MIGRATION •  Very simple package. •  Developed by Percolate Studio. •  Great when things change. •  Let’s you update your DB back and forth.
  14. 24 17 Presentation by Almog Koren • Oct 21, 2014

    EXAMPLES •  Migrate up to version 2
  15. 24 18 Presentation by Almog Koren • Oct 21, 2014

    QUICK TIPS •  Use SSL on production (issue with proxy) - http://bit.ly/1nxSmMc •  Understand deps / tracker. •  Correct folder structure (server, client, lib). •  Analytics is a pain in reactive apps. •  Handlebars.JS – {{if}} {{else}} •  Blaze Template Engine
  16. 24 19 Presentation by Almog Koren • Oct 21, 2014

    •  The Big Meteor List - http://bit.ly/meteorlist
  17. 24 20 Presentation by Almog Koren • Oct 21, 2014

    •  https://www.discovermeteor.com/
  18. 24 21 Presentation by Almog Koren • Oct 21, 2014

    •  https://www.eventedmind.com/