Dependecy injecttion v7 vs v8

What dependency injection patterns are implemented in SuiteCRM V8, and how do these differ from V7’s approach?

Back-end answer: it’s just Symfony in v8. Dependency-injection works great in Symfony.

In v7 there were only some internal SuiteCRM mechanisms to incorporate code, but I wouldn’t call them dependency injection…

Yes V7 was difficult at best to get the ‘dependency injection’ done.

Have you tried it in the v8?

I have, but still working to get my head around the Symfony framework and the CRM.
Worked with Symfony last around 8 or more years back - much has changed in Symfony.

I hope team will write details about Symfony in the documentation.

1 Like