Getting Serious

A workshop on front-end JavaScript

Aidan Feldman

github.com/afeld/getting_serious

whoami

firstly

all's fair in ❤ and JS

Game Plan

  • jQuery basics
  • AJAX
  • Objects and the Source of Truth
  • Frameworks?

throughout

  • JS primitives
  • named vs. anonymous functions
  • dev tools

exercise

  1. save body while editing
  2. show status message
  3. save title while editing
  4. update the <title> in real-time
  5. BONUS
    • list of revision times
    • ability to revert
    • auto-save while typing (see _.throttle())
    • ???

wrap-up

  • select elements and bind events
  • AJAX
  • dev tools
  • why frameworks become helpful

thx.

api.afeld.me

@aidanfeldman