Get Your Hands Dirty on Clean Architecture (Paperback)

Tom Hombergs

買這商品的人也買了...

相關主題

商品描述

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.

  • Identify potential shortcomings of using a layered architecture
  • Apply methods to enforce architecture boundaries
  • Find out how potential shortcuts can affect the software architecture
  • Produce arguments for when to use which style of architecture
  • Structure your code according to the architecture
  • Apply various types of tests that will cover each element of the architecture
  • Explore ways to make your software flexible, extensible, and adaptable
  • Learn new concepts that you can easily blend with your own software development style
  • Develop the mindset of building maintainable solutions instead of taking shortcuts

商品描述(中文翻譯)

《Get Your Hands Dirty on Clean Architecture》是一本討論軟體架構的書籍,旨在建立可適應、靈活且開發成本低的軟體。然而,不合理的截止日期和捷徑使得創建這樣的架構變得非常困難。

本書首先討論了傳統的分層架構風格及其缺點,並介紹了Robert C. Martin的Clean Architecture和Alistair Cockburn的Hexagonal Architecture這兩種以領域為中心的架構風格的優點。然後,書中深入介紹了如何在實際代碼中實現六邊形架構。您將詳細了解六邊形架構的不同層之間的映射策略,並了解如何將架構元素組合成應用程序。後面的章節演示了如何強制執行架構邊界。您還將了解哪些捷徑會產生哪些技術債務,以及有時候有意願承擔這些債務是一個好主意。

閱讀本書後,您將擁有使用六邊形架構風格進行網頁開發的所有知識。

本書的內容包括:

- 辨識分層架構的潛在缺點
- 應用方法以強制執行架構邊界
- 了解潛在捷徑如何影響軟體架構
- 提供何時使用哪種架構風格的論點
- 根據架構結構化您的代碼
- 應用各種測試類型,以涵蓋架構的每個元素
- 探索使軟體靈活、可擴展和適應的方法
- 學習可以輕鬆與自己的軟體開發風格相結合的新概念
- 培養構建可維護解決方案的心態,而不是走捷徑。