Paperback
Unlock robust, testable, and future-proof systems with Hexagonal Architecture mastery.
Save 10%

Hexagonal Architecture Explained

How the Ports & Adapters architecture simplifies your life, and how to implement it, Updated 1st Ed.

RRP$70.38
$63.35
  • Paperback

    196 pages

  • Release Date

    14 April 2025

Check Delivery Options

Summary

Recommended by giants like Netflix and Amazon, the Hexagonal or Ports & Adapters architecture simplifies testing, protects against business logic leakage, supports changing technologies in long-running system, and lets you apply Domain Driven Design. In this definitive book on the subject, pattern author Dr. Alistair Cockburn and Juan Manuel Garrido de Paz lay bare all of the intricacies of the pattern, providing sample code and answering your many frequently asked questions.

“Looking at the screen of my laptop, I realized that it was full of code that didn’t let me understand what it did regarding business logic. From that moment I began to search until I discovered the architecture that decouples the business logic from the frameworks: Hexagonal Architecture, more correctly called Ports & Adapters. From that moment until now, I haven’t stopped reading and learning about this pattern.”

Book Details

ISBN-13:9798998586200
Author:Alistair Cockburn, Juan Manuel Garrido de Paz
Publisher:Humans and Technology Inc
Imprint:Humans and Technology Inc
Format:Paperback
Number of Pages:196
Release Date:14 April 2025
Weight:358g
Dimensions:13mm x 152mm x 229mm
A-Format
B-Format
Hexagonal Architecture Explained by Alistair Cockburn - ISBN: 9798998586200
152 × 229 mm
C-Format
A4
mm / in
What They're Saying

Critics Review

I just wanted to say thank you for hexagonal architecture. My team used to do it for a while and we finally we got it right. Making changes to the services we hexagonalized properly feels really good and easy.The same changes kept giving us headaches in other services. Your recent book recently helped us to gain confidence that we are doing it right and to see where ideas from other patterns were mixed in by people blogging on the topic.

Michael Kutz Software Engineer at REWE digital GmbH

The publication of this book has been a great joy for several reasons. One of them is personal, as you might have guessed if you follow this blog. The other reason is that we finally have an authoritative reference guide to the pattern. it is a very complete and detailed work. You can consider it a must-have reference both theoretically and practically, as it offers a fairly comprehensive implementation guide. If you’re really interested in understanding it and, possibly, using it in your projects, the book is the best source available, and it also includes the few original references you could find online.

Fran Iglesias, Staff Software Engineer at Qualifyze

Been deep in Hexagonal Architecture lately-pure gold from @TotherAlistair & Juan Manuel Garrido de Paz. Highly recommend

(get the book!)

Eugene F. Barker

I found the book to be very simple and practical. In fact, I used a few of its ideas in some refactoring I’m doing at work and they made a real difference.

What’s more, it contains some detailed DDD discussion and its relation to Ports and Adapters!

Rubyists might be especially pleased to find examples of how to implement that architecture in Ruby (I definitely was!).

I strongly recommend it.

Hemal Varambhia Senior Technical Coach

About the preview edition:

“It gives interesting insights not just on how the pattern can be implemented, but also on its story and the design considerations that revolve around it.”

About the additions in the updated 1st edition:

“I find that the additions you did are very valuable not just in terms of understanding the pattern, but also in terms of understanding how it fits with the existing literature, related patterns, testing strategies etc.”

Eleonora Ciceri

About The Author

Alistair Cockburn

Dr. Alistair Cockburn (pronounced CO-BURN) was named as one of the “42 Greatest SoftwareProfessionals of All Times” in 2020, as a world expert on methodologies, project management, software architecture, use cases and agile development. He co-authored both the Agile Manifestoand the Project Management Declaration of Inter-dependence. Since 2015 he has been workingon expanding agile to cover every kind of initiative, including social impact project, governments, and families.

Returns

This item is eligible for free returns within 30 days of delivery. See our returns policy for further details.