Тёмный

Dependency Injection Made Simple with Java Examples | Clean Code and Best Practices | Geekific 

Geekific
Подписаться 31 тыс.
Просмотров 49 тыс.
50% 1

Support us on Patreon: / geekific
GitHub Repository: github.com/geekific-official/...
Stay updated on our videos by subscribing to the channel and hitting the like button!
If you’re a software developer or you’re studying a programming language, you may have heard of: Dependency Injection. Personally, at first, and I am pretty sure that you as well, thought that this must be a really hard concept. But I assure you that it’s just a fancy term used to represent a very easy concept, and that's what we intend to prove in this video!
Timestamps:
00:00 Introduction
00:10 What is Dependency Injection?
03:26 Types of Dependency Injection
05:12 Inversion of Control
07:10 Conclusion
08:34 Thanks for Watching!
If you found this video helpful, check other Geekific uploads:
- Object-Oriented Programming Fundamentals: • What is Object-Oriente...
- Introduction to Recursion and Recursive Methods: • What is Recursion? | R...
- Introduction to Regexes: • What is RegEx? | Intro...
- Functional Interfaces and Lambda Expressions in Java with Examples: • Functional Interfaces ...
- What is a Thread?: • What is a Thread? | Th...
- Must Know Java Keywords!: • Must Know Java Keyword...
#Geekific #DependencyInjection #Java #CleanCode #ObjectOrientedDesign

Опубликовано:

 

8 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 48   
@ngndnd
@ngndnd 3 месяца назад
2:01 wow i had no clue these solutions were bad since this is how we were taught in school. Im glad i watched this video
@bmiller949
@bmiller949 2 дня назад
Thank for saying what I have always felt. It is easy to make things complex, it is difficult to make things simple.
@jianlu9841
@jianlu9841 5 месяцев назад
I watched many videos on dependency injection and this is the most clear and easy to understand one! Thanks!
@user-ed5cr8so7f
@user-ed5cr8so7f Год назад
The most simple and clear explanation I found so far!
@alpugurkonca2575
@alpugurkonca2575 Год назад
Finally someone showing valid examples. Thanks!
@k.t.1594
@k.t.1594 4 месяца назад
This this the most precise and clear video on abstraction, dependency injection I've ever seen. Simple and concise!
@me-wi8vf
@me-wi8vf Месяц назад
Day by day, I am learning (cum refreshing my technical knowledge) more and more from your PHENOMENAL RU-vid teachings even after 20+ years of my experience in Java world. Inspired. Your teachings with EXCELLENT MATERIALS cum PRESENTATION (both VISUALS and VOICEOVER) gives me the crystal clear understanding and revision of all these concepts in a CRISP cum CRYSTAL CLEAR manner. Your work is the seed for a lot of the needy people who are eager to learn these topics. Thanks a lot again and hats off to your attitude of sharing your knowledge in the HIGH QUALITY STANDARDS manner.
@geekific
@geekific Месяц назад
Thanks a lot for the support and the kind words! Glad to have you part of our community :)
@me-wi8vf
@me-wi8vf 2 месяца назад
Wonderful and no other words I have to explain my thanks and gratitude for tour hard work brother. EXCELLENT - 1) materials, 2) way of teaching, 3) Presentation, 4) Attitude, 5) Command over concepts, 6) HARD WORK HATS OFF TO YOU MY BROTHER. THANKS a lot. If possible, Request to share more and more quality videos like these on all topics especially like Spring (Core) Framework, Spring Data, Spring Security, Core Java 17 topics and so on... My Wish: If possible to work with you technically and learn the "TECHNIQUE of LEARNING (that is, understanding new/any topics in a crystal clear manner)" from you. Thanks.
@geekific
@geekific 2 месяца назад
Thanks a lot for the kind words and support
@dantefangirl9810
@dantefangirl9810 11 месяцев назад
Amazing explanation. Best I've seen so far
@npkchrome7328
@npkchrome7328 10 месяцев назад
best explanation ever. thank you
@Cablur
@Cablur 8 месяцев назад
superb video that is absolutely comprehensible! Thank you!
@kodnzikus
@kodnzikus 5 месяцев назад
Perfect explanation. Thanks a lot!
@programming5484
@programming5484 5 месяцев назад
You got new subscriber .Great explanation without waste of time.
@mohammadmahdifarrokhy260
@mohammadmahdifarrokhy260 Год назад
Tnx, this video really helped me understand dependency injection
@imretoth8903
@imretoth8903 Год назад
Amazing video! Thank you!
@pranav2003
@pranav2003 3 месяца назад
Very clear sound
@KailashJNirmal
@KailashJNirmal Год назад
Being foodie I guess this was easy for me to watch video fully till end as examples showed in this video is so real and relate to food 😅. Loved it. No option but subscribing just now 😊😊
@omarzidan53
@omarzidan53 11 месяцев назад
Thank you so much, after seeing how simple this is now I can't un-see it. wasted several months trying to get that shit till it just clicked
@voidsine
@voidsine 6 месяцев назад
I have java exam tomorrow thanks man this cleared my understanding
@user-rn2ww4vo7j
@user-rn2ww4vo7j Год назад
finllay understand this IOC concept thanks alot
@knewtonconsulting3394
@knewtonconsulting3394 2 года назад
my 8 years old son, watching this video with me wanted to say this topic is way to complicated 😀😃🙂 but I love the way you explained it
@geekific
@geekific 2 года назад
Glad you loved it! If at 8 yo he is watching this, can't wait to see where he'll be at in 10 years, way to go!
@enesb4797
@enesb4797 5 месяцев назад
perfection!
@spout37
@spout37 Год назад
Nicely explained ! Ty man
@HungNguyen-mr5yc
@HungNguyen-mr5yc Год назад
All I need is this video. I have to subscribe 👏 Amazing man
@geekific
@geekific Год назад
Thanks for the support :)
@ryankao1983
@ryankao1983 2 года назад
should have watched before I started learning Spring 🤣
@geekific
@geekific 2 года назад
Well, now you did :P
@lowkeyhuman
@lowkeyhuman 2 года назад
you explained it extremely well 👏you've left me no choice, now I have to subscribe 😂
@geekific
@geekific 2 года назад
Thanks for the support! Glad I could help :)
@UninspiredFilm5
@UninspiredFilm5 6 месяцев назад
so awesome, thank you
@Preelu
@Preelu 3 месяца назад
A million thanks! Alas i understood dependency injection :)
@vepeducate
@vepeducate 5 месяцев назад
you should have mentioned about autowired too. good video btw.
@nehajain6751
@nehajain6751 11 месяцев назад
simply the best
@masterreif
@masterreif 10 месяцев назад
Dependency Injection is important on the one side, but also frustrating on the other side. You can reduce your instances and code that is a good point. But in the case of error search it is not so funny. You can not search for the uses of the instance. So you have to search in the code. yes you can use the file search, but if the code is hidden in a library than it is not so easy. But that's the business. We make all easier with frameworks, but if something doesn't work as it should, it is hard work. You have to understand the framework if you stuck on something.
@vivekmit
@vivekmit 5 месяцев назад
Now we are in functional programming paradigm. please share us more info about the Dependency injection in functional programming
@elvenpath7
@elvenpath7 Год назад
cool cool cool. now one more about mocking please )
@anusflotze6646
@anusflotze6646 10 месяцев назад
i'm sorry for non english speaking people since this video explains di really good!
@hetjayeshbhaipatel1075
@hetjayeshbhaipatel1075 2 месяца назад
wowww
@sujithameriga7348
@sujithameriga7348 Год назад
How can you instantiate an interface?
@geekific
@geekific Год назад
Where did we do that?
@abutohan
@abutohan Год назад
Presumably around 1:48. Since When Food was instantiated by burger and pizza private Food burger; private Food pizza; I was also confused about this concept before when I started learning OOP, since we know that interfaces can't be instantiated. But since Food was implemented by Burger and Pizza Class, what the declaration there doing is referring to an object that implements the interface by the type of the interface. Yeah, took me almost 2 weeks to accept that idea and get used to it. Hahaha
@gabyyhshss
@gabyyhshss 3 месяца назад
02:04 Why is Bad solutions??
@gabyyhshss
@gabyyhshss 3 месяца назад
I understand jajja, It is because that class depend directly(hard-dependency)
@electronlabs2802
@electronlabs2802 Год назад
I think its unfair that u dont mention generic at 1:50
@geekific
@geekific Год назад
I get what you are saying, but I really wanted the video to fully focus on DI and avoid confusing ppl!
Далее
Беда приходит внезапно 😂
00:25
Просмотров 194 тыс.
Ditch your Favorite Programming Paradigm
6:08
Просмотров 170 тыс.
Dependency Injection, The Best Pattern
13:16
Просмотров 760 тыс.
What is Dependency Injection?
6:48
Просмотров 113 тыс.
Dependency Injection & Inversion of Control
11:00
Просмотров 193 тыс.
tRPC, gRPC, GraphQL or REST: when to use what?
10:46
Просмотров 72 тыс.
the right way to organise your code
17:33
Просмотров 193 тыс.
How principled coders outperform the competition
11:11
Беда приходит внезапно 😂
00:25
Просмотров 194 тыс.