Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added "Keep a small dependency footprint" #5

Open
wants to merge 2 commits into
base: gh-pages
Choose a base branch
from

Conversation

rkrx
Copy link

@rkrx rkrx commented May 10, 2015

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.

Added some advice for links to other packages (dependencies)

* Don't rely on other packages unless they are mandatory. May be you could better [suggest](https://getcomposer.org/doc/04-schema.md#suggest) them.
* Don't rely on a specific dependency-version. This could increase the change 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.
@reinink
Copy link
Owner

reinink commented May 12, 2015

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! 👍

@rkrx
Copy link
Author

rkrx commented May 12, 2015

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants