Skip to content

Instantly share code, notes, and snippets.

@theotherzach
Last active August 29, 2015 14:00
Show Gist options
  • Save theotherzach/11093656 to your computer and use it in GitHub Desktop.
Save theotherzach/11093656 to your computer and use it in GitHub Desktop.
  • good code
  • steps of the walkthrough
  • javascript concepts
  • function
  • object
  • array
  • user = maintainers > machine
  • readability
  • minimizing dependencies
  • heavy front-end much harder than backend
    • no control over executing environment
    • Rails web server
      • inputs
        • identity (session)
        • location (url)
        • payload
        • system clock
        • database
      • prevent idempotent inputs
        • database
        • system clock
    • Frontend - SPA
      • inputs
        • ui - controls & pointer/ keyboard
        • navigation history (url, forward/ back)
        • identity (session)
        • system clock
        • backend
      • prevent idempotent inputs
        • ui - control state, display state & event binding
        • navigation history
        • js state
        • backend
        • system clock
  • ignore best practices - create your own from first principles
  • research
  • sketch out UI
  • static html
  • css
  • first test
  • sketch out domain logic
  • angular
    • module declaration
    • controller, $scope, and {{ }}
    • ng-repeat
    • ng-click
  • extract logic & text
  • hook it up to domain logic
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment