Inversion of Control, simplified
Ғылым және технология
🧠 Inversion of Control sounds like a serious, complex design pattern, but its actually a very simple idea. After watching this video, you can start using this design pattern right away. 📈
0:00 Example: Callbacks
3:55 Example: React
6:42 Example: DI
8:01 Inversion of Control
Пікірлер: 12
Excellent. Yes your examples were great.
wth this video is so calming i actually wanna go to sleep lmao
very good explanations, thank you! I've literally been using IoC without knowing it has a name, or that is a common practice
Very nice explanation
Great explanation. I was looking for an example in React. However, your speaking tone and the mild music in the background made me a bit sleepy lol.
Very comprehensive, thank you!!
@vthanhann
6 ай бұрын
And for the last section IoC, I think you should add some examples.
Loved this, your videos are awesome!
Excellent explanations ❤
It was fantastic. Thank you.
Hi Brian, Firstly, Thanks for the explanation. I am currently advancing my Spring understanding when I happen to come across your video. As you have mentioned, IoC is custom code receiving control from the framework/generic code and I reference the first example as am more familiar with JS than React: Const map( ln, fn){ // ln for list and fn for function ..... fn() // logic that calls fn } Const fn = (....) => {......} Const ln = [.........] map(ln, fn) My question is then how IoC plays out with regards to the Spring container? I would like to understand in depth how my components or beans end up in the IoC container and how this container boils down to a java program that listens on port 8080 for REST API calls or etc.
❤