E-book details

Get Your Hands Dirty on Clean Architecture. A hands-on guide to creating clean web applications with code examples in Java

Get Your Hands Dirty on Clean Architecture. A hands-on guide to creating clean web applications with code examples in Java

Tom Hombergs

Ebook
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 on those debts.

After reading this book, you'll have all the knowledge you need to create applications using the hexagonal architecture style of web development.
  • 1. What’s Wrong With Layers?
  • 2. Inverting Dependencies
  • 3. Organizing Code
  • 4. Implementing a Use Case
  • 5. Implementing a Web Adapter
  • 6. Implementing a Persistence Adapter
  • 7. Testing Architecture Elements
  • 8. Mapping Between Boundaries
  • 9. Assembling the Application .
  • 10. Enforcing Architecture Boundaries
  • 11. Taking Shortcuts Consciously
  • 12. Deciding on an Architecture Style
  • Title: Get Your Hands Dirty on Clean Architecture. A hands-on guide to creating clean web applications with code examples in Java
  • Author: Tom Hombergs
  • Original title: Get Your Hands Dirty on Clean Architecture. A hands-on guide to creating clean web applications with code examples in Java
  • ISBN: 9781839212710, 9781839212710
  • Date of issue: 2019-09-30
  • Format: Ebook
  • Item ID: e_2axt
  • Publisher: Packt Publishing