Skip to main content

The Common Reuse Principle

  • Chapter
  • First Online:
Principles of Package Design
  • 1801 Accesses

Abstract

In Chapter 6, we discussed the Release/Reuse Equivalence principle. It’s the first principle of package cohesion: it tells an important part of the story about which classes belong together in a package, namely those that you can properly release and maintain as a package. You need to take care of delivering a package that is a true product.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Robert C. Martin, “The principles of OOD,” http://butunclebob.com/ArticleS.UncleBob.PrinciplesOfOod

  2. 2.

    https://www.dictionary.com/browse/strata

  3. 3.

    https://packagist.org/packages/symfony/security

  4. 4.

    https://github.com/symfony/Security

  5. 5.

    https://packagist.org/packages/nelmio/security-bundle

  6. 6.

    https://github.com/nelmio/NelmioSecurityBundle

  7. 7.

    https://github.com/symfony/HttpKernel

  8. 8.

    https://packagist.org/packages/monolog/monolog

  9. 9.

    https://github.com/Seldaek/monolog

  10. 10.

    https://github.com/phpstan/phpstan

  11. 11.

    https://github.com/vimeo/psalm

  12. 12.

    https://github.com/phan/phan

  13. 13.

    https://github.com/maglnet/ComposerRequireChecker

  14. 14.

    https://www.subtreesplit.com/

  15. 15.

    https://packagist.org/packages/matthiasnoback/microsoft-translator

  16. 16.

    https://github.com/matthiasnoback/microsoft-translator

  17. 17.

    https://packagist.org/packages/kriswallsmith/buzz

  18. 18.

    https://github.com/kriswallsmith/Buzz

  19. 19.

    https://github.com/matthiasnoback/microsoft-translator/blob/v0.6.1/src/MatthiasNoback/Buzz/Client/CachedClient.php

  20. 20.

    https://github.com/php-http/httplug

  21. 21.

    https://www.php-fig.org/psr/

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

Copyright information

© 2018 Matthias Noback

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Noback, M. (2018). The Common Reuse Principle. In: Principles of Package Design. Apress, Berkeley, CA. https://doi.org/10.1007/978-1-4842-4119-6_7

Download citation

Publish with us

Policies and ethics