AngularJS – Best practices

  • Group by use case
  • Avoid usage of global scope
  • Try to minimize your controllers
  • Read about directives
  • Use Linting
  • Use Build tools
  • Sketch a mock backend (express)
  • Read about scope and dot issues
  • Use CI
  • Read about Bootstrap
  • Try to forget jQuery
  • Consider localStorage for persistent client side state such as credentials
  • Prevent event hell
  • Embrace promises and asynchronicity
    • $q.all ftw

 

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert