As a metaphor, CD Player is probably an example of Setter injection not Constructor Injection. A Car+Engine is usually a good example of factory/constructor injection.
3rd type of injection.. Parameter Injection? There are times when you don't want a persistent reference to an external dependency because it effects Garbage collection so parameter injection allows you to use a dependency just for a function scope.
excellent vid... real world examples are always a good way to relate
dramos287 1 month ago
@dramos287 yes, it's always good to be reminded, that there is a real world :D
just kidding
Arishava 1 day ago
That's a pretty good video! Thank you very much for sharing it with us! It was very helpful to me. Thank you very much!
hcalazans 3 months ago
Great Video, it was very concise and informative.
fmikael1 5 months ago
This has been flagged as spam show
What is this PHP editor? O_O
francismori7 1 year ago
What is this PHP editor? O_O
francismori7 1 year ago
@francismori7 I guess it is neatbeans.
gecoder 1 year ago
@francismori7 Notepad++
2Astalavista 11 months ago
@2Astalavista Nope, it's NetBeans.
francismori7 11 months ago
Beatles
Entropy56 1 year ago
Nice! Much better than the classes I attended!
discy12345 1 year ago
Thanks dordrak, this video was a big help!!!
subway394 1 year ago
Good Vid.
As a metaphor, CD Player is probably an example of Setter injection not Constructor Injection. A Car+Engine is usually a good example of factory/constructor injection.
3rd type of injection.. Parameter Injection? There are times when you don't want a persistent reference to an external dependency because it effects Garbage collection so parameter injection allows you to use a dependency just for a function scope.
AjnaKotobide 1 year ago
Great analogy with the CD player example. I like it, and it helps.
spelingnazi 1 year ago