Day 15: Mutant Office Hours

Monday, June 20, 2016

Topics

John Papa’s Style Guide

  • THE Angular-team endorsed style guide for AngularJS
  • Single Responsibility - One component per file, less than 400 lines of code
  • IIFE - Removes variables from the global scope
  • controllerAs with vm - Use capture variable for this when using controllerAs syntax
  • Bindable members up top - Place bindable members at the top of the controller, not spread through the controller code
  • 'use strict' - for enforcing ‘strict mode’ in JavaScript projects

Firebase

  • A realtime database utilizing web sockets
  • Handles user authentication

AngularFire

  • Officially supported AngularJS binding for Firebase

Twilio

  • Cloud communication platform for voice calls and texts

mailgun

  • Email automation service

Project

Homework

  • Read the sections of the Style Guide listed above
  • Review commit history for the day