Clean Architecture
A Craftsman's Guide to Software Structure and Design
Clean Architecture teaches Robert C. Martin's boundary rules for software structure, so your design stays cheap to change as requirements shift.
- 429pages
- 34chapters
- 6parts
This book is for you if you are
- This book is for you if you are a developer writing production code and want design rules you can apply today.
- This book is for you if you are a tech lead or architect responsible for long-lived systems and their dependency structure.
- This book is for you if you are an engineer moving from feature work into design decisions for the first time.
Why this book
Clean Architecture is Robert C. Martin's systematic guide to software structure and design, built on four decades of practice in environments of every kind. Martin, known across the industry as "Uncle Bob," argues that architecture is not a matter of taste but of measurable cost, and that the decisions you make about boundaries determine whether a system stays cheap to change. The book matters because it turns an abstract word into a set of rules you can apply on a Monday morning.
Where most material on software structure stops at diagrams, this edition walks down to the code. Martin opens with the programming paradigms that constrain what you can do, moves through the SOLID design principles, then builds up to component cohesion and coupling before arriving at the boundary-drawing rules that give the book its title.
- Paradigm chapters on structured, object-oriented, and functional programming and what each one takes away from you
- The five SOLID principles treated as daily design constraints rather than interview trivia
- Component principles covering cohesion, coupling, and how to decide what belongs inside a deployable unit
- A full case study on a video sales system that shows the rules applied end to end
- Chapters on keeping the database, the web, and frameworks in their proper place as details
The argument throughout is that structure is a business asset: a system whose dependencies point inward stays flexible when requirements shift, and a system that leaks framework details into its core does not. Martin is direct about which trade-offs are worth making and which are habits dressed up as engineering.
Software developers, tech leads, and architects who are already writing production code get the most from it, and so do engineers preparing to own design decisions for the first time. Get your copy today.
What you'll learn
- Apply the SOLID principles as daily constraints on class and module design
- Draw boundaries that keep business rules independent of frameworks and databases
- Evaluate component cohesion and coupling before splitting or merging services
- Distinguish policy from detail so the database and the web stay replaceable
- Use the Dependency Rule to keep source-code dependencies pointing inward
- Assess architecture quality by the cost of change rather than by diagram complexity
- Trace a complete video sales system through every layer of the design process
Not the right book for: readers looking for framework-specific tutorials or quick code recipes
Questions about this book
What is the Dependency Rule in Clean Architecture?
Source-code dependencies must point inward, toward higher-level policy. Nothing in an inner circle may know the name of anything in an outer circle, which is what keeps business rules independent of frameworks and databases.
Does Clean Architecture cover the SOLID principles?
Yes. Three chapters are devoted to design principles, with one chapter each for the Single Responsibility, Open-Closed, Liskov Substitution, Interface Segregation, and Dependency Inversion principles.
Is Clean Architecture still useful if I work with frameworks every day?
It is written for exactly that situation. Martin treats frameworks, the web, and the database as details and shows how to keep them at the edges so a framework upgrade does not reach your core logic.
How does the book explain boundaries between components?
Four chapters on boundaries cover drawing lines, boundary anatomy, partial boundaries, and layers and boundaries, so you can decide where a boundary pays for itself and where it is overhead.
Does it include a worked example of the whole architecture?
The closing case study follows a video sales system from business rules through presenters and the main component, showing the rules applied rather than only described.
Can I get it in another format?
Yes. You get the PDF right away. Need EPUB, Kindle, Word or any other format? Email support@ebooksonline.si with your order number and we send it.
Does it work on Kindle?
Yes. Email support@ebooksonline.si with your order number and we send you a Kindle-ready file.
How many times can I download it?
As many times as you like. Sign in to your account and download it again at any time.
What if the file does not work?
Contact us with your order number and we will fix it or refund you.
Contents
- 1PART I Introductionp. 1
- 2Chapter 1 What Is Design and Architecture?p. 3
- 3Chapter 2 A Tale of Two Valuesp. 13
- 4PART II Starting with the Bricks: Programming Paradigmsp. 19
- 5Chapter 3 Paradigm Overviewp. 21
- 6Chapter 4 Structured Programmingp. 25
- 7Chapter 5 Object-Oriented Programmingp. 33
- 8Chapter 6 Functional Programmingp. 49
- 9PART III Design Principlesp. 57
- 10Chapter 7 SRP: The Single Responsibility Principlep. 61
- 11Chapter 8 OCP: The Open-Closed Principlep. 69
- 12Chapter 9 LSP: The Liskov Substitution Principlep. 77
- 13Chapter 10 ISP: The Interface Segregation Principlep. 83
- 14Chapter 11 DIP: The Dependency Inversion Principlep. 87
- 15PART IV Component Principlesp. 93
- 16Chapter 12 Componentsp. 95
- 17Chapter 13 Component Cohesionp. 103
- 18Chapter 14 Component Couplingp. 111
- 19PART V Architecturep. 133
- 20Chapter 15 What Is Architecture?p. 135
- 21Chapter 16 Independencep. 147
- 22Chapter 17 Boundaries: Drawing Linesp. 159
- 23Chapter 18 Boundary Anatomyp. 175
- 24Chapter 19 Policy and Levelp. 183
- 25Chapter 20 Business Rulesp. 189
- 26Chapter 21 Screaming Architecturep. 195
- 27Chapter 22 The Clean Architecturep. 201
- 28Chapter 23 Presenters and Humble Objectsp. 211
- 29Chapter 24 Partial Boundariesp. 217
- 30Chapter 25 Layers and Boundariesp. 221
- 31Chapter 26 The Main Componentp. 231
- 32Chapter 27 Services: Great and Smallp. 239
- 33Chapter 28 The Test Boundaryp. 249
- 34Chapter 29 Clean Embedded Architecturep. 255
- 35PART VI Detailsp. 275
- 36Chapter 30 The Database Is a Detailp. 277
- 37Chapter 31 The Web Is a Detailp. 285
- 38Chapter 32 Frameworks Are Detailsp. 291
- 39Chapter 33 Case Study: Video Salesp. 297
- 40Chapter 34 The Missing Chapterp. 303
Details
- Author
- Robert C. Martin
- Publisher
- Pearson Education, Inc.
- Edition
- 2018
- ISBN
- 9780134494166
- Pages
- 429
- Language
- English
- Formats
- PDF (EPUB, Kindle or any other format on request)
- File size
- 6.68 MB
- Licence
- Personal use, keep forever
Buy with confidence
If your file does not open or download, we fix it or refund you. Read the refund policy.
More in Computer Science & Technology
See allAdobe Photoshop Classroom in a Book (2022 release)
PDF · 624 pages
You save $45.00
Add to cartIntroduction to Algorithms
PDF · 1313 pages
You save $74.77
Add to cartGetting to Know ArcGIS
PDF · 824 pages
You save $100.00
Add to cartThe Definitive Guide to CentOS
PDF · 353 pages
You save $40.00
Add to cartBuilding Machine Learning Powered Applications
PDF · 260 pages
You save $260.01
Add to cart