Don’t miss it—Apress Access is only $99 for the holiday season! Subscribe now >>

Principles of Package Design

Creating Reusable Software Components

Authors: Noback, Matthias

  • Introduces SOLID principles: Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion
  • The first book to provide extensive coverage of component/package design principles
  • Offers easy-to-read but advanced design principles, making it valuable to many software developers with a broad range of experience in the field
see more benefits

Buy this book

eBook $34.99
price for USA (gross)
  • ISBN 978-1-4842-4119-6
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $44.99
price for USA
  • ISBN 978-1-4842-4118-9
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.
About this book

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

About the authors

Matthias Noback is a professional PHP developer. He runs his own web development, training, and consultancy company called Noback's Office. In the past, he has worked as a software developer at Driebit (Amsterdam) and IPPZ (Utrecht), and as CTO at Ibuildings (Utrecht). Since 2011 he has been regularly writing on his blog about advanced software development topics. Favorite topics include software architecture, legacy code, testing, and object design. Other books by Matthias are A Year with Symfony and Microservices for Everyone.

Table of contents (12 chapters)

Buy this book

eBook $34.99
price for USA (gross)
  • ISBN 978-1-4842-4119-6
  • Digitally watermarked, DRM-free
  • Included format: PDF, EPUB
  • ebooks can be used on all reading devices
  • Immediate eBook download after purchase
Softcover $44.99
price for USA
  • ISBN 978-1-4842-4118-9
  • Free shipping for individuals worldwide
  • Usually dispatched within 3 to 5 business days.

Services for this book

Loading...

Bibliographic Information

Bibliographic Information
Book Title
Principles of Package Design
Book Subtitle
Creating Reusable Software Components
Authors
Copyright
2018
Publisher
Apress
Copyright Holder
Matthias Noback
eBook ISBN
978-1-4842-4119-6
DOI
10.1007/978-1-4842-4119-6
Softcover ISBN
978-1-4842-4118-9
Edition Number
1
Number of Pages
XIX, 275
Number of Illustrations
59 b/w illustrations
Topics