Upload
ross-kukulinski
View
35
Download
1
Embed Size (px)
DESCRIPTION
Citation preview
Optimizing Developer Workflows
Ross Kukulinski - @rosskukulinski#BayNode Lightning Talks
March 5, 2014
Rapid iteration
Write Tests Write Code Run Tests Test App
Later, Rinse, Repeat.
The faster you can do this, the better.
Test Driven Development
• You are doing this, right?
• We run unit tests after every change
• We run the test suite as pre-commit hook
JSHint / Lint / Whatever
• Teams should agree on a style– (Or at least agree to disagree but deal with it)
• Linting can help enforce (and catch ‘dumb’ mistakes)
• We run lint on every file change
Live Reload
• Chrome extension• Modules for Grunt, Gulp, others• Refresh your browser on change
Make / Grunt / Gulp / Whatever
Task runners automate developer workflows
They also provide consistency across your team
Pick one (or more) and use them
• Application Scaffolding• http://yeoman.io/
DEMO!
• https://github.com/DaftMonk/generator-angular-fullstack