[RFC|Merged] Dependency Injection Container

These requests for comments/change have lead to an implemented feature that has been successfully merged into the 3.1/Ascraeus branch. Everything listed in this forum will be available in phpBB 3.1.
User avatar
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Berlin, Germany
Contact:

Re: [RFC] Dependency Injection Container

Post by naderman »

This has been merged now, so we can start using the DIC in other parts of phpBB, patches welcome!

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: [RFC|Merged] Dependency Injection Container

Post by EXreaction »

There should probably be something in the Wiki about this and how it should be used.

User avatar
MichaelC
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: [RFC|Merged] Dependency Injection Container

Post by MichaelC »

EXreaction wrote:There should probably be something in the Wiki about this and how it should be used.
There is: https://wiki.phpbb.com/Dependency_Injection_Container
Formerly known as Unknown Bliss
psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
No unsolicited PMs please except for quotes.

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: [RFC|Merged] Dependency Injection Container

Post by EXreaction »

Doesn't really explain how to use it

User avatar
MichaelC
Development Team
Development Team
Posts: 889
Joined: Thu Jan 28, 2010 6:29 pm

Re: [RFC|Merged] Dependency Injection Container

Post by MichaelC »

EXreaction wrote:Doesn't really explain how to use it
Read the three links. ;)
Formerly known as Unknown Bliss
psoTFX wrote: I went with Olympus because as I said to the teams ... "It's been one hell of a hill to climb"
No unsolicited PMs please except for quotes.

User avatar
imkingdavid
Registered User
Posts: 1050
Joined: Thu Jul 30, 2009 12:06 pm

Re: [RFC|Merged] Dependency Injection Container

Post by imkingdavid »

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.
I do custom MODs. PM for a quote!
View My: MODs | Portfolio
Please do NOT contact for support via PM or email.
Remember, the enemy's gate is down.

User avatar
naderman
Consultant
Posts: 1727
Joined: Sun Jan 11, 2004 2:11 am
Location: Berlin, Germany
Contact:

Re: [RFC|Merged] Dependency Injection Container

Post by naderman »

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.
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.

User avatar
EXreaction
Registered User
Posts: 1555
Joined: Sat Sep 10, 2005 2:15 am

Re: [RFC|Merged] Dependency Injection Container

Post by EXreaction »

A paragraph or two of documentation never hurts.

Post Reply