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

DI: explain what are DI related objects' methods for #847

Open
dakur opened this issue Aug 28, 2020 · 2 comments
Open

DI: explain what are DI related objects' methods for #847

dakur opened this issue Aug 28, 2020 · 2 comments

Comments

@dakur
Copy link
Contributor

dakur commented Aug 28, 2020

DI docs explains well what are CompilerExtension methods for. πŸ‘

However – as I'm still quite untouched by Nette DI implementation world – I have no idea what to do with the other stuff. Say I have two classes and I want to pass reference on one of them to the second. But now I have many methods called by many new terms and I do not know how to use them at all.

image

I think at least defining what each term means and how they relate together would be good. Yes, it is kinda spread in other DI docs, but you have to read it all through until you find something. Kind of dictionary with explanation may be helpful.

Terms which come to my mind to be added:

  • container
  • compiler
  • builder
  • service
  • type
  • tag
  • setup
  • definition
@dg
Copy link
Member

dg commented Aug 28, 2020

I'm currently writing DI documentation, but it will take a few more weeks.

@dakur
Copy link
Contributor Author

dakur commented Aug 28, 2020

I'm currently writing DI documentation, but it will take a few more weeks.

Cool. I just wanted to post it somewhere as it is not the first time I'm fighting with this. I work with DI extensions rarely, so I usually forget everything and have to search for it every time again and again.

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