Principles of Package Design: Creating Reusable Software Components
β Scribed by Matthias Noback
- Publisher
- Apress
- Year
- 2018
- Tongue
- English
- Leaves
- 287
- Edition
- 1st ed.
- Category
- Library
No coin nor oath required. For personal study only.
β¦ Synopsis
Apply design principles to your classes, preparing them for reuse. You will use package design principles to create packages that are just right in terms of cohesion and coupling, and are user- and maintainer-friendly at the same time.
The first part of this book walks you through the five SOLID principles that will help you improve the design of your classes. The second part introduces you to the best practices of package design, and covers both package cohesion principles and package coupling principles. Cohesion principles show you which classes should be put together in a package, when to split packages, and if a combination of classes may be considered a "package" in the first place. Package coupling principles help you choose the right dependencies and prevent wrong directions in the dependency graph of your packages.
What You'll Learn
- Apply the SOLID principles of class design
- Determine if classes belong in the same package
- Know whether it is safe for packages to depend on each other
Who This Book Is For
Software developers with a broad range of experience in the field, who are looking for ways to reuse,share, and distribute their code
β¦ Table of Contents
Front Matter ....Pages i-xix
Front Matter ....Pages 1-2
The Single Responsibility Principle (Matthias Noback)....Pages 3-10
The Open/Closed Principle (Matthias Noback)....Pages 11-30
The Liskov Substitution Principle (Matthias Noback)....Pages 31-53
The Interface Segregation Principle (Matthias Noback)....Pages 55-66
The Dependency Inversion Principle (Matthias Noback)....Pages 67-104
Front Matter ....Pages 105-114
The Release/Reuse Equivalence Principle (Matthias Noback)....Pages 115-144
The Common Reuse Principle (Matthias Noback)....Pages 145-170
The Common Closure Principle (Matthias Noback)....Pages 171-184
The Acyclic Dependencies Principle (Matthias Noback)....Pages 185-216
The Stable Dependencies Principle (Matthias Noback)....Pages 217-235
The Stable Abstractions Principle (Matthias Noback)....Pages 237-249
Conclusion (Matthias Noback)....Pages 251-256
Back Matter ....Pages 257-275
β¦ Subjects
Computer Science; Programming Techniques; Programming Languages, Compilers, Interpreters; Software Engineering; Web Development; Open Source
π SIMILAR VOLUMES
This book outlines and demonstrates basic package design guidelines and rules through 100 principles in the areas of research, planning, and execution. This book is a quick reference and primer on package design, and the principles that make design projects successful. Highly visual and appealing to
Rockport Publishers, Inc., 2010. β 209 p. β ISBN-10: 1592536034, ISBN-13: 978-1592536030.<br/>ΠΠ° Π°Π½Π³Π». ΡΠ·ΡΠΊΠ΅.<div class="bb-sep"></div><strong>This book outlines and demonstrates basic package design guidelines and rules through 100 principles in the areas of research, planning, and execution. This
<p>Software is rarely built completely from scratch. To a great extent, existing software documents (source code, design documents, etc.) are copied and adapted to fit new requirements. Yet we are far from the goal of making reuse the standard approach to software development. Software reuse is the