Software Structure by Design
eBook - ePub

Software Structure by Design

A Practical Handbook of Clean Architecture, Modular Design, Refactoring, and Maintainable Software

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Software Structure by Design

A Practical Handbook of Clean Architecture, Modular Design, Refactoring, and Maintainable Software

About this book

You already know your codebase is hard to change. This book tells you which decisions made it that way and what to do next.

Software structure is not a matter of taste. It is a set of decisions about coupling, cohesion, and dependency direction that determine how much every future change will cost. Software Structure by Design is a practical handbook for developers, tech leads, and anyone inheriting a codebase they did not design. It shows you how to read the structure you have, understand why it resists change, and reshape it without stopping delivery.

The book moves from principles to boundaries to the hard work of making structure stick. You will learn to treat coupling and cohesion as a cost you can measure, invert dependencies so frameworks and databases sit at the edges instead of the centre, and draw component boundaries that survive a release. Separate chapters handle the database boundary, the web boundary, and the honest trade between a modular monolith and services. Then you make the structure durable with fitness checks, the humble object pattern, characterisation tests, strangler migrations, and decision records. A complete worked application runs through every boundary at the end, tying the techniques together.

What you will learn:

• Read coupling and cohesion as a cost, not an abstraction, and use that reading to prioritise refactoring
• Apply paradigms as constraints that shape design rather than as academic rules
• Put design principles to work in real code, including dependency inversion and stable abstractions
• Draw component boundaries that hold up across releases and team changes
• Design the domain layer so business rules stay independent of delivery mechanisms
• Place the database and the web/UI at the edges with clear, testable boundaries
• Choose between a modular monolith and services based on honest trade-offs, not fashion
• Test the architecture itself with fitness checks, characterisation tests, and the humble object pattern
• Refactor toward structure safely using strangler migrations and document decisions so the structure survives

Written for developers, tech leads, and architects who need to improve an existing system rather than start from a blank page, this book assumes you can write code and want to make the code you have easier to change. If you are responsible for a codebase that has grown beyond its original design, this handbook gives you a clear path from diagnosis to durable structure.

Information

Year
2026
eBook ISBN
9798259676572

Table of contents

  1. Foreword
  2. Preface
  3. About This Book
  4. Chapter 1: What Structure Buys You
  5. Chapter 2: Paradigms as Constraints
  6. Chapter 3: Design Principles in Practice
  7. Chapter 4: Component Boundaries
  8. Chapter 5: Dependency Direction and Inversion
  9. Chapter 6: The Domain Layer
  10. Chapter 7: Boundaries for the Database
  11. Chapter 8: Boundaries for the Web and UI
  12. Chapter 9: Modular Monoliths and Services
  13. Chapter 10: Testing the Architecture
  14. Chapter 11: Refactoring Toward Structure
  15. Chapter 12: Documenting Decisions
  16. Chapter 13: A Worked System End to End
  17. Conclusion
  18. Acknowledgements
  19. Glossary
  20. Sources and Further Reading
  21. About the Author
  22. A Request from the Author

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
Perlego offers two plans: Essential and Complete
  • Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
  • Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.5M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Both plans are available with monthly, semester, or annual billing cycles.
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Software Structure by Design by Rohan Dasgupta, Artificial intelligence in PDF and/or ePUB format, as well as other popular books in Computer Science & Computer Engineering. We have over 1.5 million books available in our catalogue for you to explore.