Rails, Angular, Postgres, and Bootstrap is DONE and IN PRINT!

June 25, 2017

What started as a quick update to Rails, Angular, Postgres, and Bootstrap to add support for Angular 2 ended up being a pretty big rewrite on account of Rails 5.1 and Webpacker. And the book is better for it! I can’t overstate how well Webpacker works at allowing a Rails application to have a modern front-end.

In my imagined Rails 6 keynote, in “Front-End 2.0”, I imagined a lot of changes around the front-end, and while the exact features I listed didn’t come to pass, the underlying problems they solve are addressed by Webpack and Webpacker.

Webpacker basically creates a canonical, simple configuration for Webpack that allows for easy extension. It can totally replace the asset pipeline and allow Rails developers to use all the modern front-end tools in wide use elsewhere in the industry.

Although my book has Angular, Postgres, and Bootstrap in its title, Webpack is the key feature that allows the front-end to work so well. Without doing anything other than running two Rake tasks, you have a fullly-featured asset pipeline that supports ES6, TypeScript, and Post-CSS.

The unit testing was not as easy, but the book also has you set up Karma and that worked great as a test runner. The application you build in the book really feels full-stack and modern.

If you want to know how to create a modern, productive Rails application, buy the book now. It’s complete and in print.

I'm Co-authoring Agile Web Development With Rails

May 11, 2017

Hot off the presses is the latest beta of the seminal Agile Web Development With Rails, where I’m joining Sam Ruby as co-author. I’m really excited to be working on this classic book, and doing my part to keep Rails relevant to web developers.

The beta features sections on Webpacker and system tests, new in Rails 5.1. Much more to come as the beta progresses!

Patterns of Service-Oriented Architecture

May 09, 2017

Fresh on the Stitch Fix Engineering blog, the first in a several-part series on the patterns we use in our service-oriented architecture. From the intro:

Over the last four years, we’ve gone from a team of two developers and one Rails app, to almost 80 developers managing 40+ applications. These applications are a mixture of user-facing and headless services. While our technical architecture isn’t perfect, we’ve had relatively few major problems. Part of the reason for that is that we’ve done a decent job of identifying and re-applying patterns to solve similar technical challenges.

The first pattern is also up: Asynchronous Transaction

Articulating a Vision

January 17, 2017

In my book, I talk about making technical decisions and, in particular, understanding the priorities of everyone involved in the decision-making. A more powerful way to lead teams to execution is to clearly articulate a vision of what you are trying to achieve. It’s also much more difficult.

What Westworld Can Teach Us About Devops

January 10, 2017

Westworld is a show on HBO about a theme park where human Guests interact with lifelike robotic Hosts. The Guests can basically do whatever they want to the Hosts. The show is deep, and some of the best sci-fi television you can find. But, it also contains many important lessons we can apply to DevOps.

Spoilers Ahead

On Being On Call

December 07, 2016

There was a conversation on Twitter about developers being on call, started (I think) from this tweet (in reaction to a series of tweets that, thusfar, starts with this great blog post by Alice Goldfuss):

Put your developers on-call. You’ll be surprised what stops breaking.— Aaron אהרן (@as_w)

I 100% agree with this (for a particular interpretation of “put”—see below).

Configuration Design is User Experience Design…and it's hard

December 06, 2016

In exploring the modern front-end ecosystem for my new book, I’ve gotten to experience some truly difficult configuration formats (Webpack) and to work around aspects of Rails that aren’t configurable (Sprockets). Configuration is hard, and it’s an overlooked part of the user experience often designed to make the software library author’s job easier at the expense of ease-of-use.

It doesn’t have to be this way.