SOLID Design Principles in

  Рет қаралды 153,159

Decoded Frontend

Decoded Frontend

Күн бұрын

Пікірлер: 190
@DecodedFrontend
@DecodedFrontend 2 жыл бұрын
💥 Learn Angular Forms in-depth and start building complex form controls with ease💥 🔗 10% discount for the first 10 students - bit.ly/advanced-ng-forms-discounted 💡 Short Frontend Snacks (Tips) every week here: Twitter - twitter.com/DecodedFrontend Instagram - instagram.com/decodedfrontend LinkedIn - www.linkedin.com/in/dmezhenskyi
@alexshubin1
@alexshubin1 Жыл бұрын
Thanks a lot for this video. I'm not a native English speaker but I was very impressed that you managed to explain the Liskov principle much better than I heard in my native language. This is because your explanation was from real life but not from books.
@adriangasiewicz4084
@adriangasiewicz4084 3 жыл бұрын
The Dependency Inversion Principle use case is great. The combination of local provider, Injection Token, useExisting and Content Projection is just epic. Good job Dmytro!
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Thanks Adrian! ;)
@praktycznewskazowki6733
@praktycznewskazowki6733 3 жыл бұрын
hejka
@AndrewRowenko
@AndrewRowenko 3 жыл бұрын
Thank you! Very helpful. It is quite challenging to find such a good combination of integrity, consistency and practicality inside one video about Angular. Definitely favorite frontend youtube channel!
@jojojawjaw
@jojojawjaw 2 жыл бұрын
Your channel is handsdown the best Angular channel on KZbin, many thanks!
@pastagaz4241
@pastagaz4241 3 жыл бұрын
Definitely you have to be mentioned in the Angular documentation! As always, another useful video on your useful YTchannel !
@JmonteroArg
@JmonteroArg 3 жыл бұрын
Make a pull request adding the link!
@4444-c4s
@4444-c4s 7 ай бұрын
True. Even Angular Team will know some new concepts 😆
@Different999must
@Different999must 5 күн бұрын
Very helpfull , thanks dimitro, keep going! 🇬🇪🇬🇪❤️
@css2014
@css2014 3 жыл бұрын
I was looking for something like this. Is kind of hard to understand this concepts but with easy examples as you showed, is just simple ! thanks
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Thank you for your feedback 😊 glad you liked it!
@RickyBanerjee
@RickyBanerjee 3 жыл бұрын
This is very rich content, thanks for sharing it across.
@TheMaltissimo
@TheMaltissimo 2 жыл бұрын
Was looking for an angular related channel and this is noice, well explained and good stuff. Thank you
@BC2Monster
@BC2Monster 2 жыл бұрын
Not gonna lie, i didn't think i'd learn anything here, but damn the DI Principle was partly new to me. Thumbs Up, thank you for showing me that!
@miguelcastillo7346
@miguelcastillo7346 2 жыл бұрын
Admirable your comprehension of Angular, thanks god i found your channel, thank you teacher.
@ayaramzy6815
@ayaramzy6815 3 жыл бұрын
I really 🤍🤍🤍🤍🤍🤍 u .You rescue me today in the interview.Your video before the interview with 2 hours makes solid very clear.Allah bless u .Keep do this please apply head first design pattern in angular also 🤍🤍🤍🤍 u from Egypt.
@DecodedFrontend
@DecodedFrontend 2 жыл бұрын
Glad to hear that, Aya! Good luck with your new job ;) P.s sorry for the late reply
@anupbista8427
@anupbista8427 3 жыл бұрын
Finally New Video 😊
@westhack3552
@westhack3552 3 жыл бұрын
Thank you so much. This is all I've been searching for months.
@pauloafpjunior
@pauloafpjunior 3 жыл бұрын
Amazing video, Dmytro. Do you intend to continue this serie? Talking about architecture styles in Angular, such as CleanArch, will be great.😃
@DecodedFrontend
@DecodedFrontend 2 жыл бұрын
Thanks for the idea, Paulo!
@RSmarza
@RSmarza 3 жыл бұрын
Great content! Congratulations 👏👏 Would be great if you create a video about debugging angular memory leaks. 😉 it's an difficult issue to find good references.
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Great suggestion! Thank you 😊
@karthik_vijay
@karthik_vijay 2 жыл бұрын
Make a video on takeUntil of RxJS Subject which can help reduce memory leaks while using observables.
@SafetyLast-_-
@SafetyLast-_- 2 жыл бұрын
Does anybody knows what is the name of VSCode extension for colorized offsets in CSS and HTML templates? P.S. Thanks for the video, Dmytro!
@Timofei-yy5nm
@Timofei-yy5nm 8 ай бұрын
Hello, Dmitry! Could you please add more design pattern videos in context of Angular? I find your approach extremely useful to understand
@haroldpepete
@haroldpepete 3 жыл бұрын
That was awesome, you won a new susbcriber, thank forr share
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
You are welcome! Thanks for sub🙂
@seblaise94
@seblaise94 3 жыл бұрын
Awesome video, what is the name of the extension your using for generating the component?
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Hi, it is called “NX console” :)
@VipinRawat_Offcial
@VipinRawat_Offcial 3 жыл бұрын
All explained very well specially dependency inversion principle. 🙏🙏👌👌
@yeinsdavidllanohernandez1228
@yeinsdavidllanohernandez1228 9 ай бұрын
What a great class 👏, I would like to know more about how we can abstract logic everywhere to have a code as clean as possible
@hiteshsuthar1097
@hiteshsuthar1097 Жыл бұрын
How to do Component communication as it becomes much harder when working with multiple sub components. Especially, getting data in the parent component.
@tebohomakibile3385
@tebohomakibile3385 Жыл бұрын
This is brilliant content. Beautifully expalined.
@Moinshaikh611
@Moinshaikh611 Жыл бұрын
This content is really really awesome Just asking which extension you are using for creating component
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Thank you! The extension is called NX Console
@user921cc87
@user921cc87 3 жыл бұрын
You have made my day! Thanks a lot. Cheers from Tbilisi✊🏻
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Thanks! Happy to hear that 😉
@anish92
@anish92 Жыл бұрын
So Thankful for this Video
@whatssnots
@whatssnots 3 жыл бұрын
Excellent tutorial! Earned a sub :)
@phuc_cuhp
@phuc_cuhp 2 жыл бұрын
5:04 if you're not good at listening English (not your native language) like me, and has a little trouble to get what rule he said, it's the "And rule" (the auto caption generates "end", and I took some time to figure it out)
@DecodedFrontend
@DecodedFrontend 2 жыл бұрын
Thank you Phuc! 🙏🏻 indeed I meant “And-Word-Rule“. Sorry for inconvenience, I have fixed the subtitle 😊
@phuc_cuhp
@phuc_cuhp 2 жыл бұрын
You're welcome 😊
@sour4ik
@sour4ik 2 жыл бұрын
Not sure about Open/Close principle. For me your explanation looks more related to code reusability. I expected smth more parent - child (when child class extends parent) related examples. What do you think? But explanations of other principles are amazing)
@BorisTheGrunt
@BorisTheGrunt Жыл бұрын
really good examples thanks. specially for DI
@gururajmoger8649
@gururajmoger8649 3 жыл бұрын
Pls explain how to make reusable angular tabs as shared or child components.. that should open components dynamically
@coldcircuit99
@coldcircuit99 3 жыл бұрын
As always, thank you for quality materials. Gonna check it yout later :)
@ATTI0822
@ATTI0822 3 жыл бұрын
Very great examples. I think best I've seen so far. Thanks!
@JmonteroArg
@JmonteroArg 3 жыл бұрын
This contains video invaluable information. Thank you very much for putting the time and effort creating this. The example is fantastic with the right mount of complexity to deliver the learning lesson. Thank a lot. Keep it up. I really like the content you are making.
@ayoubelhayat9650
@ayoubelhayat9650 3 жыл бұрын
Excellent explanation. Thank you
@danny24_24
@danny24_24 2 жыл бұрын
This was great. Thanks for putting this together!
@adityamore287
@adityamore287 2 жыл бұрын
Thank you, Dmytro. I love you man. 👍👍👍👍
@DecodedFrontend
@DecodedFrontend 2 жыл бұрын
😀 👍
@archiee1337
@archiee1337 3 жыл бұрын
Awesome stuff
@rconr007
@rconr007 3 жыл бұрын
Thanks you have explained this difficult subject in a way that makes it digestible.
@Ag3sd
@Ag3sd 3 жыл бұрын
Good content. I am watching in 2x and it feels normal. 😊
@ganesh56789
@ganesh56789 3 жыл бұрын
Super cool content... Thanks, I am glad that I came across your channel 🙏
@APEDUCO
@APEDUCO 3 жыл бұрын
Great Video, Loved It ❤, BTW Which extention are you using to generate components.
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Hi! Thank you! I use ext called nx console marketplace.visualstudio.com/items?itemName=nrwl.angular-console
@APEDUCO
@APEDUCO 3 жыл бұрын
@@DecodedFrontend thank you very much, I appreciate it 👍👍
@apoorvakhairnar7125
@apoorvakhairnar7125 2 жыл бұрын
You're genius !! Thank you for sharing your knowledge with us :)
@fryser007
@fryser007 Жыл бұрын
One of the best exemple of SOLID in real-life Thank you! The last DI exemple was confusing tho :)
@trk1139
@trk1139 7 ай бұрын
Do you have any video which talks about Replaysubject() in RxJs ?
@Billiam112
@Billiam112 3 жыл бұрын
Fantastic topic! Thanks a lot! 👌
@user-rp9iis1en6h
@user-rp9iis1en6h 2 жыл бұрын
how to maintain single responsibility in case u need to show the user pre-selected values in the dropdown?
@MythsoftheWorld-lm8oi
@MythsoftheWorld-lm8oi 7 ай бұрын
Hi, What extension do you use for generate a class?
@SanketL3730
@SanketL3730 2 жыл бұрын
Great video. Just like to know how to integrate git in vscode just like you?
@nikitashinde-w7l
@nikitashinde-w7l Жыл бұрын
what is the name of extension he is using to generate components any idea ?
@rohitsachdeva4624
@rohitsachdeva4624 Жыл бұрын
Hi can you also create a video on how we can create micro frontends.
@superduper1211
@superduper1211 3 жыл бұрын
like before watching ... as always
@NaomiNos
@NaomiNos 8 ай бұрын
What is this VS Code extension used in this video to run ng commands interactively?
@ZeroInfinityVideo
@ZeroInfinityVideo 2 жыл бұрын
Can you do a video on unit testing long poll with Rxjs using timer, switchmap and takeuntil?
@DavidSoles
@DavidSoles 3 жыл бұрын
Great explanation. Thanks 👍🏼
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
You're welcome! :)
@jonadushi
@jonadushi 2 жыл бұрын
Thank you Dmytro! I love your videos. You are gifted, clear and short explanation, easy to follow. Thank you 🙏
@lenvaz8957
@lenvaz8957 3 жыл бұрын
Awesome tutorial! 👍
@fatiharkan5163
@fatiharkan5163 3 жыл бұрын
Thanks a lot, Dmytro! I might have some recommendations for you. I hope It would be great if you describe or explain and show your little padawan's the right way of use. 1 - Observables 2 - HostListeners. Thanks a lot!
@youraccountissuspended
@youraccountissuspended 2 жыл бұрын
hello sir, do you know how to use common module in child module without import in child module i have parent module that import common module and child module
@kennethebora6367
@kennethebora6367 3 жыл бұрын
Can you share what extension you're using for those nice block color highlights? Thanks!
@alison.aguiar
@alison.aguiar 3 жыл бұрын
Thanks guy 😀🤝
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
My pleasure 🙂
@JoshDeveloper
@JoshDeveloper 2 жыл бұрын
Good content as usual bro, I like it. ♥ Just I wanna mention your little typo that "wether" must be "weather" :D Anyways,, keep posting such nice videos
@DecodedFrontend
@DecodedFrontend 2 жыл бұрын
ah... Indeed, you're right :)
@the-real-pawook
@the-real-pawook Жыл бұрын
Гуд ту кноу, дуже дякую 🙃
@pitsaveliev
@pitsaveliev Жыл бұрын
Отличное видео! Лучшее из тех что я видел на эту тему. Лайк и подписка!
@maximermoshin393
@maximermoshin393 3 жыл бұрын
Nice video. Thanks for sharing your knowledge.
@tarassavchenko2317
@tarassavchenko2317 2 жыл бұрын
At about the example with di and services. If we inject the service, even if Angular substitutes its token. If we then need to replace the service with another and remove it, then we will not be able to do it, right? Because it is used as an interface Isn't that a problem? In a traditional OOP, we simply create an abstract class, or interface, and inject it. Therefore, we can dynamically change services if they implement an interface. But if in Angular service = interface, then we can do so only by replacing service statically?Like using "useExisting"
@mukeshm280
@mukeshm280 2 жыл бұрын
Can you please list out the VS Code plugins you are using?
@mashab9129
@mashab9129 2 жыл бұрын
hi Dmytro, thanks for sharing great content - very informative and easy to follow/grasp thanks to your teaching style.
@vishnum7811
@vishnum7811 3 жыл бұрын
awesome stuff.
@Sunill_Waugh
@Sunill_Waugh 3 жыл бұрын
Hi Dmytro, which extension are you using to create new components? Looks good option to CLI, thanks
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
It is NX Console - ext for vs code
@gururajmoger8649
@gururajmoger8649 3 жыл бұрын
Pls create angular ecommerce app will material and latest concept.. there is a very less tuts on angular..
@KamelJabber1
@KamelJabber1 3 жыл бұрын
Excellent content!
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Glad you enjoyed it
@ShubhamSharma-xq4hg
@ShubhamSharma-xq4hg Жыл бұрын
Can you please make a another video for ng-content and ng-template . Like what is use case where we must use ng-content or ng-template . Like I know the one diff we can pass data from container to template but I want to know this in more details. Please help Thanks In advance.
@yuriinadilnyi3029
@yuriinadilnyi3029 3 жыл бұрын
What would I say? - It was so fuc**ng gooood))) Thx a lot)
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Thanks a looot 🤘🏻😉
@GuillermoArellano
@GuillermoArellano 3 жыл бұрын
Another excellent video, Dmytro. Thank you for educating me on the use cases where SOLID could be used with Angular. I will have to re-watch that last Dependency Inversion section a few more times to understand better. Nevertheless, the 40 minutes taken up in this video flew by with so much knowledge you shared. Thank you for being awesome!
@DecodedFrontend
@DecodedFrontend 2 жыл бұрын
Thanks a lot for your feedback, Guillermo! Much appreciated :)
@tz2014
@tz2014 7 ай бұрын
Just one word, legend
@harpreetsinghsahota5191
@harpreetsinghsahota5191 3 жыл бұрын
Hey Dmytro, Just a thought that we can mark properties optional in interfaces in that way we need not to make multiple interfaces. What are you guys think about it???
@rikihanks
@rikihanks 3 жыл бұрын
what if I have multiple reloadables components? how does de abastraction know which one to import?
@nitinshekhar7064
@nitinshekhar7064 3 жыл бұрын
Any plan to create a tutorial on server side rendering in angular
@kamalCode
@kamalCode 3 жыл бұрын
Sir, all coding principle and coding standards rules
@subba18
@subba18 3 жыл бұрын
Can you do an video of Module Federation implementation in Angular 12 which has webpack 5.
@maks-yaremenko
@maks-yaremenko 2 жыл бұрын
very nice, thank you!
@jacqueskloster4085
@jacqueskloster4085 2 жыл бұрын
A little side note for the Interface Segregation Principle, since it has a major benefit that maybe isn't clear in the beginning: The angular lifecycle hooks are a great example since every hook method has its own interface. The benefit of the principle is that a) implementation developers do not need to implement irrelevant code (as demonstrated in the video) and b) implementation developers of your library/component whatever will only ever see those bits of the implemented code that is relevant to them when you provide them references to classes. b is maybe not so obvious but imagine you had a class that has some methods that must be public due to other internal dependencies (the way component classes are forced to have public props/methods for their template immediately comes to mind) but you don't necessarily want the implementation developers that use your class see all the methods. The solution is to write an interface and only ever provide variables to the class typed with that interface. That could be in callback Methods, abstract methods or anywhere else where an instance to a consumable class would occur. This pattern is especially useful in typescript where you have so many different ways to compose your classes due to the nature of javascript. Example: You have an API abstraction with read and write methods (yes that sort of breaks CQRS, but let's ignore that) but you want to expose only the reader API although all operations are implemented in one class. That's where you would expose the class instance by typing it with the IReader (silly name, sorry) interface. Consumer code can now only access the reader methods. Unless they (apiInstance as IWriter).write :D
@tarassavchenko2317
@tarassavchenko2317 2 жыл бұрын
I have the same problem now. I'm trying to understand the OOP principles and their patterns, but it's still hard to see them in Angular. And if you can find examples of principles, it is more difficult with specific patterns, because you read mainly on examples of object-oriented languages, where only one paradigm, and we have OOP, Functional programming, Reactive programming. And you just ask yourself "The problem is that I do not find them yet, or we just do not have them in JS/TS"
@sourishdutta9600
@sourishdutta9600 3 жыл бұрын
Thanks for making this video. Thank you 😊😊👍❤
@TheDeseth38
@TheDeseth38 2 жыл бұрын
Have you thought about making some series about jasmine and tests in Angular? I would be happy to see it on your channel. You do great, keep it like this.
@eugenekalashnikov9331
@eugenekalashnikov9331 2 жыл бұрын
Why Jasmine? Jest most probably
@moacir8663
@moacir8663 2 жыл бұрын
Loved it!
@Kreator321RG
@Kreator321RG 3 жыл бұрын
Rally cool! Thanks
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
Great to hear that! Thanks :)
@balajeebala7810
@balajeebala7810 3 жыл бұрын
Tell about your glasses ,, Where do u get them and which is best for developers ?
@atulgupta426
@atulgupta426 3 жыл бұрын
Hi, Thanks for this good stuff. Can you please make a tutorial on view encapsulation and change detection?
@VitaliiPolulikh
@VitaliiPolulikh 3 жыл бұрын
Nice, Thanks!!!
@santoshraju9230
@santoshraju9230 3 жыл бұрын
Excellent video. Thank you. Could you please do a video on ngTemplateOutlet?
@RajatKhare619
@RajatKhare619 3 жыл бұрын
What if we use optional properties in interfaces? Won't that work?
@MrKOHKyPEHT
@MrKOHKyPEHT 2 жыл бұрын
You right: splitting by extremely small pieces is overkill
@genyklemberg
@genyklemberg 3 жыл бұрын
Advanced content, thanks
@DecodedFrontend
@DecodedFrontend 3 жыл бұрын
You’re welcome ☺️
@mightytechno
@mightytechno 2 жыл бұрын
Great video
@prabuk3819
@prabuk3819 3 жыл бұрын
Thank You So Much For This Video...
@viktorm2937
@viktorm2937 3 жыл бұрын
Круть, а что за расширение для подсветки html?
Design Patterns in Angular Source Code - Bridge Design Pattern
16:47
Decoded Frontend
Рет қаралды 26 М.
Solid Principles Interview Questions - You Might Get Them
9:44
Monsterlessons Academy
Рет қаралды 8 М.
Sigma Kid Mistake #funny #sigma
00:17
CRAZY GREAPA
Рет қаралды 30 МЛН
Глеб Михеев - Как RxJS разделил мой мир на до и после
49:43
HolyJS — конференция для JavaScript‑разработчиков
Рет қаралды 26 М.
NgTemplateOutlet in Angular - Everything You Have to Know (2022)
35:15
Decoded Frontend
Рет қаралды 55 М.
This is the Only Right Way to Write React clean-code - SOLID
18:23
AI Is Making You An Illiterate Programmer
27:22
ThePrimeTime
Рет қаралды 139 М.
LinkedSignal in Angular 19: The Gem We Were Missing
14:05
Decoded Frontend
Рет қаралды 5 М.
SOLID Principles: Do You Really Understand Them?
7:04
Alex Hyett
Рет қаралды 235 М.
I bet you can understand NgRx after watching this video
22:48
Joshua Morony
Рет қаралды 197 М.
The Return of Procedural Programming - Richard Feldman
52:53
ChariotSolutions
Рет қаралды 64 М.
Why didn't the Angular team just use RxJS instead of Signals?
8:15
Joshua Morony
Рет қаралды 107 М.
КАК ЖИВЕТ КВАНТУМ? РУМ ТУР КВАНТУМА!!!
13:51
пранк🤣😂😂
0:51
Numdexx1
Рет қаралды 1,2 МЛН
Halloween is coming
0:12
Younes Zarou
Рет қаралды 3,4 МЛН
БОЛЬШЕ ВИДОСОВ С ИНСТЕ: PONYATOWSKIY
0:42
НУСТАС И ПОЛЯ
Рет қаралды 1,9 МЛН