Skip to main content

Introducing new learning courses and educational videos from Apress. Start watching

The Common Reuse Principle

  • 1683 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, access via your institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • DOI: 10.1007/978-1-4842-4119-6_7
  • Chapter length: 26 pages
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
eBook
USD   54.99
Price excludes VAT (USA)
  • ISBN: 978-1-4842-4119-6
  • Instant PDF download
  • Readable on all devices
  • Own it forever
  • Exclusive offer for individuals only
  • Tax calculation will be finalised during checkout
Softcover Book
USD   69.99
Price excludes VAT (USA)
Figure 7-1
Figure 7-2
Figure 7-3

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

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