Have a personal or library account? Click to login
Get Your Hands Dirty on Clean Architecture Cover

Get Your Hands Dirty on Clean Architecture

Build ‘clean' applications with code examples in Java

Paid access
|Oct 2019
Product purchase options

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

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

Book Description

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.

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

Who this book is for

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.

Table of Contents

    PDF ISBN: 978-1-83921-271-0
    Publisher: Packt Publishing Limited
    Copyright owner: © 2019 Packt Publishing Limited
    Publication date: 2019
    Language: English
    Pages: 156