Skip to content

Instantly share code, notes, and snippets.

@jaredhirsch
Created September 24, 2015 15:07
Show Gist options
  • Save jaredhirsch/4259e95513c24731bca3 to your computer and use it in GitHub Desktop.
Save jaredhirsch/4259e95513c24731bca3 to your computer and use it in GitHub Desktop.
basic principles front-end programming

Idea: basic principles front end development

The stuff that is evergreen: basic facts and techniques

The web moves fast. Decouple the fads from the basic principles that don't change.

This could be a short book that teaches you how to think.

  • Event loop: implicit multi threading
  • DOM as tree structure
  • How to debug: find the class or other attribute
  • Where to put data: DOM or JS
    • DOM: jQuery-ish approach
    • JS: better for bigger things
  • The JS - DOM connection: pointers to els

Maybe break it into beginner, intermediate, advanced level stuff.

  • The DOM is slow; avoid touching it (store things on the JS side instead)
    • Throttling and debouncing
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment