Get Your Hands Dirty on Clean Architecture

A Hands-On Guide to Creating Clean Web Applications with Code Examples in Java

156 pages

English language

Published July 29, 2019 by Packt Publishing, Limited.

ISBN:
9781839211966

View on OpenLibrary

5 stars (1 review)

We would all like to build software architecture that yields adaptable and flexible software with low development costs. But, unreasonable deadlines and shortcuts make it very hard to create such an architecture.

Get Your Hands Dirty on Clean Architecture starts with a discussion about the conventional layered architecture style and its disadvantages. It also talks about the advantages of the domain-centric architecture styles of Robert C. Martin's Clean Architecture and Alistair Cockburn's Hexagonal Architecture. Then, the book dives into hands-on chapters that show you how to manifest a hexagonal architecture in actual code. You'll learn in detail about different mapping strategies between the layers of a hexagonal architecture and see how to assemble the architecture elements into an application. The later chapters demonstrate how to enforce architecture boundaries. You'll also learn what shortcuts produce what types of technical debt and how, sometimes, it is a good idea to willingly take …

1 edition

It was amazing

5 stars

Much better than Martin's book because it's actually usable. The book should be the basis of the "Software architecture 101" course.

There's a lot of bullshit on the interplay between DI frameworks like Spring and application architecture. Most of the bullshit lives in legacy proprietary code, but some part of it goes to the Internet in form of incompetent posts (see top answers on Spring on stackowerflow.com, or popular blogs on it). It's sad to see such incompetence, but this book is a diamond in the rough. It's very straight and explains how to use the tool properly.

The most enjoyable chapter for me was a chapter about mapping between layers.