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

concept for application wide accessibility of configurations #163

Open
ChrisB9 opened this issue Aug 21, 2020 · 0 comments
Open

concept for application wide accessibility of configurations #163

ChrisB9 opened this issue Aug 21, 2020 · 0 comments
Assignees

Comments

@ChrisB9
Copy link
Contributor

ChrisB9 commented Aug 21, 2020

conceptualizing the idea of two main points:

  • making methods and configurations easily available at all time during runtime
  • thinking about using a dependendy-injection paradigm to replace boilerplate-code with a centralized configuration

Main concerns:

  • it is important, that the complexity must be very similar, better be lower than right now
  • we need to be able to test and read everything and understand immediately, where issues arise
  • might a library be to much?
  • how can we reduce boilerplate and make the core-idea of this project stronger
  • the concept needs to be flexibel and adaptable for future features

For starters:

  • we should implement a prototype
  • as DI, i suggest using this: https://packagist.org/packages/php-di/php-di
    ( is a library really necessary ? )
  • minimum SshConfig, GlobalConfig and Commands should be available all the time
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

No branches or pull requests

2 participants