talk Video: Avoiding Release Paralysis at NodeConf London 2016 I had the great pleasure of speaking at NodeConf London 2016, and the video was made available the same day. Thanks to the entire team for a smoothly run conference - despite my technical difficulties towards the beginning of the talk!
Clean Code What makes a clean test? What makes a clean test? Three things. Readability, readability, and readability. Readability is perhaps even more important in unit tests than it is in production code. What makes tests readable? The same thing that makes all code readable: clarity, simplicity, and density of expression. In a test you want to
Programming Deployment Pipelines: Disproving the Big Bang Here are my slides from LNUG 08/2014 covering the basics tenets of setting up a continuous deployment pipeline and outlining some of the challenges. To paraphrase the steps: * Start with tests * Build a pipeline that's reliable * Deploy to an environment * Monitor everything * Use KPIs for a cluster
Clean Code Fluent Conference 2014 Videos More videos from the well-respected Fluent Conference 2014 covering JavaScript, HTML, CSS, Node and the web at large.
Karma Google's AngularJS Style Guide Google have published their internal AngularJS Style Guide. It contains language and style rules, a basic naming convention (i.e. don't use $ as a variable prefix), test-driven recommendations (use Jasmine and Karma), a link to newly-published directory structure recommendations, a guide to scope and prototypal inheritance
Programming The Words of Martin Fowler Any fool can write code that a computer can understand. Good programmers write code that humans can understand. Martin Fowler's Wikiquote page is a diamond mine of aphorisms. Often designers do complicated things that improve the capacity on a particular hardware platform when it might actually be cheaper
Clean Code Hammock Driven Development HDD: highlighting the value of disconnecting, idea gestation and general enjoyment since your next holiday:
Clean Code Etsy's Engineering Talks A wealth of information is tucked away in Etsy's Engineering Talks - by the people who build and run Etsy. They cover development, DevOps, security, testing, continuous deployment, configuration management, and engineering culture (among others).
Clean Code Karma Story Reporter: a plugin for readable test reports Karma is the preeminent cross-browser test framework. It is built in the style of JSTestDriver (remote browsers controlled via HTTP) but in node.js instead of Java. It also overcomes a number of JSTestDriver's fundamental issues - namely that errors in the code under test do not affect
Debugging Migrate Karma Config to 0.10 Karma has changed its config file format from plain ol' Javascript to RequireJS module.exports format. I've written a quick script to migrate a config file from one format to the other. It's been tested on Linux and OSX. Usage: migrateKarmaConfig.sh [options] path-to-
Clean Code Know Your Onions (and Antipatterns) Antipatterns (styles of design or process that may proliferate, but are ineffectual or counter-productive) can confound even the most battle-hardened of developers. Only knowledge can set us free, and to that end Source Making's list of antipatterns is a welcome reminder. Good software structure is essential
Clean Code Clean Code and Clean TDD Cheat Sheets Two excellent and concise cheat sheets. Uncle Bob would be proud. The first covers clean code – code that is easy readable and keeps changeable. The second is about Test Driven Development. Both cheat sheets list principles, patterns, practices and smells. Clean Code and Clean TDD Cheat Sheets | planetgeek.ch
talk Talk: Victorious TDD Here are the notes from my lightning talk at PHPSW on May 16, 2012. Victorious TDD * Victorious TDD * The Great Equaliser * Rainforest Hut * Imagine the problem, quickly execute the solution * Tree House * Ancestral knowledge and practice, probably done before * Burj * Approach without blueprints, a contract to build the structure to,
Backbone Slides from "Javascript Testing: Units; Backbone Models and Views" I've uploaded the slides for Javascript Testing: Units; Backbone Models and Views from PHPSW in April. The talk covers the current state of the art (including and a brief synopsis of a variety of testing frameworks), then delves into the intricacies of testing Backbone Models and Views with