Account
Computer Science & Technology

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

  1. 1PART I Introductionp. 1
  2. 2Chapter 1 What Is Design and Architecture?p. 3
  3. 3Chapter 2 A Tale of Two Valuesp. 13
  4. 4PART II Starting with the Bricks: Programming Paradigmsp. 19
  5. 5Chapter 3 Paradigm Overviewp. 21
  6. 6Chapter 4 Structured Programmingp. 25
  7. 7Chapter 5 Object-Oriented Programmingp. 33
  8. 8Chapter 6 Functional Programmingp. 49
  9. 9PART III Design Principlesp. 57
  10. 10Chapter 7 SRP: The Single Responsibility Principlep. 61
  11. 11Chapter 8 OCP: The Open-Closed Principlep. 69
  12. 12Chapter 9 LSP: The Liskov Substitution Principlep. 77
  13. 13Chapter 10 ISP: The Interface Segregation Principlep. 83
  14. 14Chapter 11 DIP: The Dependency Inversion Principlep. 87
  15. 15PART IV Component Principlesp. 93
  16. 16Chapter 12 Componentsp. 95
  17. 17Chapter 13 Component Cohesionp. 103
  18. 18Chapter 14 Component Couplingp. 111
  19. 19PART V Architecturep. 133
  20. 20Chapter 15 What Is Architecture?p. 135
  21. 21Chapter 16 Independencep. 147
  22. 22Chapter 17 Boundaries: Drawing Linesp. 159
  23. 23Chapter 18 Boundary Anatomyp. 175
  24. 24Chapter 19 Policy and Levelp. 183
  25. 25Chapter 20 Business Rulesp. 189
  26. 26Chapter 21 Screaming Architecturep. 195
  27. 27Chapter 22 The Clean Architecturep. 201
  28. 28Chapter 23 Presenters and Humble Objectsp. 211
  29. 29Chapter 24 Partial Boundariesp. 217
  30. 30Chapter 25 Layers and Boundariesp. 221
  31. 31Chapter 26 The Main Componentp. 231
  32. 32Chapter 27 Services: Great and Smallp. 239
  33. 33Chapter 28 The Test Boundaryp. 249
  34. 34Chapter 29 Clean Embedded Architecturep. 255
  35. 35PART VI Detailsp. 275
  36. 36Chapter 30 The Database Is a Detailp. 277
  37. 37Chapter 31 The Web Is a Detailp. 285
  38. 38Chapter 32 Frameworks Are Detailsp. 291
  39. 39Chapter 33 Case Study: Video Salesp. 297
  40. 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

Robert C. Martin

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 all

C Programming

K. N. King

PDF · 830 pages

$14.99 Regular price $59.99 −75%

You save $45.00

Add to cart

Introduction to Algorithms

Thomas H. Cormen, Charles E. Leiserson, Ronald L. Rivest, Clifford Stein

PDF · 1313 pages

$19.99 Regular price $94.76 −79%

You save $74.77

Add to cart
Cover of 10-Minute Focus by Daniel Walter

Get a free ebook

Join the list and get 10-Minute Focus free, plus a short note when new books arrive.

Your cart

No products in the cart.

Subjects

More

Look inside

Sample