Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Automation for web development

Automation for web development

Automation as a form of pre-commitment to best practices in web development. A talk given to the University of Melbourne's Web Information Technology class (Sem 1, 2013), based on experiences at 99designs.

Lars Yencken

May 15, 2013
Tweet

More Decks by Lars Yencken

Other Decks in Technology

Transcript

  1. Automation for web development A talk by @larsyencken to the

    University of Melbourne's Web Information Technologies class (Sem 1, 2013)
  2. Pre-commit to testing 1. Set up automated tests which run

    every time you push code 2. Test before coding wherever possible, to make sure your design will allow for testing 3. Measure coverage of your tests, and fail your test run unless coverage increases
  3. feature-flipping ship features to admins until they’re ready use guards

    http://99designs.com/tech-blog/blog/2012/03/01/feature-flipping/
  4. Pre-commit to shipping early and often 1. Make builds, deploys

    and other tedious tasks one-step 2. Use your test suite as a sanity check during deployment 3. Use feature flipping to get your code into the live site earlier
  5. Commit to disposing of servers 1. Write recipes for servers

    which start from a basic machine image (e.g. Ubuntu) 2. Use tools like Vagrant to prototype new server types and test recipes