phppackagechecklist.com icon indicating copy to clipboard operation
phppackagechecklist.com copied to clipboard

Added "Keep a small dependency footprint"

Open rkrx opened this issue 9 years ago • 2 comments

Added some advice for links to other packages (dependencies)

Keep a small dependency footprint

  • Don't rely on other packages unless they are mandatory. May be you could better suggest them.
  • Don't rely on a specific dependency-version. This could increase the chance to conflict with dependencies from other packages.
  • Choose interfaces over implementations. This may require some glue-code, but you finally enable others to use application-specific components for caching, etc.

rkrx avatar May 10 '15 13:05 rkrx

Thanks for this Ron, I think you make some solid points here. I'm currently on holidays, but will have a closer look when I'm back! :+1:

reinink avatar May 12 '15 01:05 reinink

Hi, thank you for the feedback. I'm not a native speaker, so may be there is some adjustment needed in order to merge this PR. Don't hesitate to ask me, if you have any questions!

rkrx avatar May 12 '15 05:05 rkrx