Get Your Hands Dirty on Clean Architecture

Building for maintainability is key to keeping development costs low and processes easy. The second edition of Get Your Hands Dirty on Clean Architecture is here to equip you with the essential skills and knowledge to build maintainable software.

With this comprehensive guide, you’ll explore the drawbacks of conventional layered architecture and the advantages of domain-centric styles such as Robert C. Martin's Clean Architecture and Alistair Cockburn's Hexagonal Architecture. Then, you’ll dive into hands-on explanations on how to convert hexagonal architecture into actual code. You'll learn in detail about different mapping strategies between the layers of hexagonal architecture and discover how to assemble the architectural elements into an application. Additionally, you’ll understand how to enforce architecture boundaries, which shortcuts produce what types of technical debt, and how, sometimes, it is a good idea to willingly take on those debts.

By the end of this second edition, you'll be armed with a deep understanding of the hexagonal architecture style and be ready to create maintainable web applications that save money and time.

Type
ebook
Category
publication date
2019-09-30
what you will learn

Identify potential shortcomings of using a layered architecture
Apply varied methods to enforce architectural boundaries
Discover how potential shortcuts can affect the software architecture
Produce arguments for using different styles of architecture
Structure your code according to the architecture
Run various tests to check each element of the architecture

no of pages
156
duration
312
key features
Explore ways to make your software flexible, extensible, and adaptable * Learn new concepts that you can easily blend with your software development style * Develop the mindset for making conscious architectural decisions
approach
This book explains all concepts through an example web application called "BuckPal," which transfers money online. The Java code in the book is simplified by including Lombok annotations that will auto-generate some boilerplate code. The code is available on GitHub.
audience
This book is for new as well as seasoned developers seeking to learn and deepen their understanding of hexagonal architecture. Some experience with web development is necessary. The code examples are in Java, but if you are proficient in reading object-oriented code, you’ll understand the examples seamlessly. Instances of detailed Java and framework explanations are fewer, but thorough.
meta description
Gain insights into how hexagonal architecture can help you keep the cost of development low throughout an application’s lifespan
Purchase of the print or Kindle book includes a free PDF eBook
short description
Get Your Hands Dirty on Clean Architecture helps you convert concepts into actual code using hexagonal architecture. You’ll dive into practical code examples for building maintainable applications that integrate cleanly with other systems. This new edition explores ways to manage multiple bounded contexts in a single application and presents an alternative, component-based architecture style.
subtitle
Build ‘clean’ applications with code examples in Java
keywords
Software architecture, Architectural design, Java programming book, Java book, Software architect
Product ISBN
9781839211966