[RFC|Merged] Dependency Injection Container
Re: [RFC] Dependency Injection Container
This has been merged now, so we can start using the DIC in other parts of phpBB, patches welcome!
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC|Merged] Dependency Injection Container
There should probably be something in the Wiki about this and how it should be used.
Re: [RFC|Merged] Dependency Injection Container
There is: https://wiki.phpbb.com/Dependency_Injection_ContainerEXreaction wrote:There should probably be something in the Wiki about this and how it should be used.
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC|Merged] Dependency Injection Container
Doesn't really explain how to use it
Re: [RFC|Merged] Dependency Injection Container
Read the three links.EXreaction wrote:Doesn't really explain how to use it
Formerly known as Unknown Bliss
No unsolicited PMs please except for quotes.psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
- imkingdavid
- Registered User
- Posts: 1050
- Joined: Thu Jul 30, 2009 12:06 pm
Re: [RFC|Merged] Dependency Injection Container
Well it would be good if there was some phpBB-specific usage information. The three links are not overly helpful unless you're the one initially setting it up. That being said, it was only just merged yesterday so, it may take a little time before good documentation is written for it.
Re: [RFC|Merged] Dependency Injection Container
Actually http://symfony.com/doc/current/book/ser ... ainer.html is exactly what an extension author might want to look into, so those links are helpful to them specifically. And while I agree we should have some phpBB specific example uses, I'd rather not duplicate all of the documentation either.imkingdavid wrote:Well it would be good if there was some phpBB-specific usage information. The three links are not overly helpful unless you're the one initially setting it up. That being said, it was only just merged yesterday so, it may take a little time before good documentation is written for it.
- EXreaction
- Registered User
- Posts: 1555
- Joined: Sat Sep 10, 2005 2:15 am
Re: [RFC|Merged] Dependency Injection Container
A paragraph or two of documentation never hurts.