Design Patterns in Angular Source Code - Strategy Design Pattern

  Рет қаралды 17,348

Decoded Frontend

Decoded Frontend

Күн бұрын

Пікірлер: 77
@DecodedFrontend
@DecodedFrontend Жыл бұрын
To try everything Brilliant has to offer-free-for a full 30 days, visit brilliant.org/DecodedFrontend/. The first 200 of you will get 20% off Brilliant’s annual premium subscription.
@bromptonhorsing8597
@bromptonhorsing8597 Жыл бұрын
Hello, Dmytro! Would you be interested to make a video about contentChild/Children? Not how it works, but where are appropriate applications in terms of frontend abstractions? What business use case are they best for? Thanks!
@felipejacobs2296
@felipejacobs2296 Жыл бұрын
great video and especially the cat that takes center stage at the beginning 😅
@giorgikirvalidze394
@giorgikirvalidze394 Жыл бұрын
hi, thx for informative videos, please upload more about design patterns.
@yuliakhitrukhina
@yuliakhitrukhina Жыл бұрын
Last two videos are sooo good! Please, continue this series about patterns with examples from the source code (if there are some :))) Btw, really enjoying the Forms course, thanks!
@dale_nguyen
@dale_nguyen Жыл бұрын
Great video. We need more screen time for the cat though 🤣
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Your required was accepted 😁
@ytamb01
@ytamb01 Жыл бұрын
I have switch statements in my code that determine behaviour and now I know how to manage this. Thanks very much.
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Use it wisely. Not every switch/case has to be refactored like in the video. Sometimes it might bring unnecessary complexity to your code without real benefits
@magdalenalewicka7197
@magdalenalewicka7197 Жыл бұрын
It's so easy to find videos on basic Angular concepts, but so difficult to find ones that go deeper. I love your videos, they help pretty experienced developer to get better and better. Thank you for sharing your knowledge.
@AlphaFrog1021
@AlphaFrog1021 Жыл бұрын
great video! I suggest turning off minimap and even sidebar to have more screen size
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Good hint, actually! Thank you 😊
@cdc_ua
@cdc_ua Жыл бұрын
thanx for your great job!
@deathbyjs
@deathbyjs Жыл бұрын
Thanks
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Wow, thank you so much!🙌🏻
@kanishkanaik2784
@kanishkanaik2784 Жыл бұрын
Need all the design pattern in angular
@denns0r
@denns0r Жыл бұрын
Wow that simple example was very helpful!! Great explanation. 👏
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Glad that I could make this topic clearer ;)
@leandroalvarez9075
@leandroalvarez9075 Жыл бұрын
Hi! You are the best. Thanks for your videos. Could be some about unit testing? or testing in angular? Thanks you!
@atmn_pawel
@atmn_pawel Жыл бұрын
creator of the nest js in the background 0:10
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Haha :) Exactly!
@ievgensvichkar2643
@ievgensvichkar2643 Жыл бұрын
Nice example of the strategy pattern. I would like to mention one more example of this pattern in JS world - ability to provide the comparison algorithm to the sort method of Array. The idea is the same - runtime definition of the algorithm that is used inside the main context.
@demidovmaxim1008
@demidovmaxim1008 Жыл бұрын
Thanks for this video dear friend!)
@ico0z
@ico0z Жыл бұрын
Why there isn't a love button. This video e just perfect and you learn a lot from it. Thank you
@gagiksimonyan3782
@gagiksimonyan3782 Жыл бұрын
Thanks for another useful video, Dmytro)
@DecodedFrontend
@DecodedFrontend Жыл бұрын
My pleasure!
@GLawSomnia
@GLawSomnia Жыл бұрын
Simple, yet effective :D Love your videos
@christ-gospel
@christ-gospel Жыл бұрын
Thanks. Pls explain how to understand the angular code.
@avijitghosh9472
@avijitghosh9472 Жыл бұрын
Just awesome. Always learning new things in details from your videos.
@oleksandrvorovchenko8674
@oleksandrvorovchenko8674 Жыл бұрын
Thanks. Great explanation as usual!
@emanuelzhupa
@emanuelzhupa Жыл бұрын
Thanks, very great example, made me grasp the concept much easier. Can you please do more videos revealing angular internals, and how they work
@nicohussein2635
@nicohussein2635 Жыл бұрын
Wow, amazing video!! 🚀 Which resources do u recommend to learn/practice more about design patterns?
@DecodedFrontend
@DecodedFrontend Жыл бұрын
refactoring.guru - is an awesome source to read more about it
@praktycznewskazowki6733
@praktycznewskazowki6733 Жыл бұрын
Very good series, Thanks! :)
@hubert.t4243
@hubert.t4243 Жыл бұрын
Again, as usual well explained.Thank you.
@carlosabud
@carlosabud Жыл бұрын
these videos are freaking amazing, Dmytro! please keep it up!!
@Mr007Zeta
@Mr007Zeta Жыл бұрын
Instant like. Love your content
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Thank you 😊
@obadaka3918
@obadaka3918 Жыл бұрын
Thanks a lot😃
@kiransaravade5127
@kiransaravade5127 Жыл бұрын
great video
@santicanabalramos667
@santicanabalramos667 Жыл бұрын
I love this kind of videos :D
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Awesome! Thanks for the feedback ;)
@evtihii
@evtihii 9 ай бұрын
Cool pretty useful
@zhdanvadim9536
@zhdanvadim9536 Жыл бұрын
Thanks. Great explanation!
@rezyadlf
@rezyadlf Жыл бұрын
Hi Dmytro. Could you, please, teach us micro-frontend. Especially, angular/module-federation? That would be cool. You're an expert in Angular and i'm sure your video about it will be very usefull
@rezyadlf
@rezyadlf Жыл бұрын
Also, since you are highly expertised, could you share us with your vision about the future of Angular? Will it reach the performance of React some day? What are they (Google) going to improve in future etc. I've read in Twitter that they are thinking about implementation of some sort of JSX-like syntax, maybe you know something interesting
@rezyadlf
@rezyadlf Жыл бұрын
Curretnly, people are hyped on Angular's Signal. Would be cool to hear about that.
@Simon_IHG
@Simon_IHG Жыл бұрын
Very good video as always ! ❤️
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Thank you! 😃
@aditshah3077
@aditshah3077 Жыл бұрын
Hello Dmytro, Can you please make a video about change detection in depth understanding with real time scenarios and usage? It would be better for us if you make it. Thanks in advance 🙏
@yuriinadilnyi3029
@yuriinadilnyi3029 Жыл бұрын
I always learn a lot of new things from your videos)
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Glad to hear that, Yurii :) Thanks for the feedback!
@THIAGO_6721
@THIAGO_6721 Жыл бұрын
Amazing
@foobar846
@foobar846 Жыл бұрын
Great vídeo! Thank you!
@gund_ua
@gund_ua Жыл бұрын
Awesome stuff! SOLID and Design Patterns are 2 topics that are very underrated and even sometimes hated in frontend world (LOL). Very nice to see more attention on this stuff as in my opinion it's one of the most important things in most if not any software project (be it frontend or backend). You can easily replace algorithms if you have a good architecture but if you don't then you will be spending countless hours refactoring =)
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Thank you for your feedback, Alex! Always reach and valuable feedback. I am agree that knowledge about design principles and patterns can drastically improve the code we write. Also, very often they just sound scary and difficult but in reality it is not :)
@Utopy34
@Utopy34 Жыл бұрын
In 10 years working for enterprise clients with Angular I've never seen true OOP patterns employed on the front-end. It's always Functional Reactive Programming and classes are only used for Angular directives, pipes or services. You don't have a Product class but a product object that is stored in Redux for example. If you start mixing code paradigms you will break the codebase coherency which will do more harm than good. We generally try to reduce the cognitive complexity, not increase it.
@AzadKanwar
@AzadKanwar Жыл бұрын
awesome
@beodan9219
@beodan9219 Жыл бұрын
awsome
@devman5813
@devman5813 Жыл бұрын
Can you add the video to playlist about design patterns? :D
@DecodedFrontend
@DecodedFrontend Жыл бұрын
But it should be already there… 🤔 ok, I will check one more time
@devman5813
@devman5813 Жыл бұрын
I can see it now, thank you :)
@irynakhariv5419
@irynakhariv5419 Жыл бұрын
Дякую😊
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Дуже дякую за фідбек 😊
@pavan_ravi
@pavan_ravi Жыл бұрын
Hi Decoded Frontend, Is there any way to add open graph tags on angular, if it's rendered client side? Any suggestions would be great!!
@piotrbrokowski4703
@piotrbrokowski4703 Жыл бұрын
Did you change the flat ?
@DecodedFrontend
@DecodedFrontend Жыл бұрын
No, I changed a room :)
@MrKOHKyPEHT
@MrKOHKyPEHT Жыл бұрын
9:48 rows 110, 111, 112, 113 - is that how overload implemented in TS?
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Yes, exactly
@chandreshmaurya1021
@chandreshmaurya1021 Жыл бұрын
I see u fixed the thumbnail 😉
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Yes :)
@haroldpepete
@haroldpepete Жыл бұрын
CEO was checking the class and how was the last feature you were assigned, he looks angry
@DecodedFrontend
@DecodedFrontend Жыл бұрын
Yeah, I probably forgot to food her, so that's why she looks angry :D
@Aliakbaresmaeiliiii
@Aliakbaresmaeiliiii 6 ай бұрын
thanx for your great job!
@MohamedAbdulRaouf
@MohamedAbdulRaouf Жыл бұрын
Brilliant as always, thank you 🙏🙏
The Role of "exportAs" Property in Angular [RE-UPLOADED]
11:08
Decoded Frontend
Рет қаралды 12 М.
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 263 М.
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00
PEDRO PEDRO INSIDEOUT
00:10
MOOMOO STUDIO [무무 스튜디오]
Рет қаралды 26 МЛН
"The Life & Death of htmx" by Alexander Petros at Big Sky Dev Con 2024
23:01
Montana Programmers
Рет қаралды 56 М.
TOP 6 Mistakes in RxJS code
18:35
Decoded Frontend
Рет қаралды 18 М.
10 Design Patterns Explained in 10 Minutes
11:04
Fireship
Рет қаралды 2,3 МЛН
Dependency Injection, The Best Pattern
13:16
CodeAesthetic
Рет қаралды 809 М.
Angular - All about pipes (Custom pipe, Pure and Impure)
4:42
Project Brackets
Рет қаралды 10 М.
The new DestroyRef Provider in Angular 16 (2023)
11:42
Decoded Frontend
Рет қаралды 12 М.
How Senior Programmers ACTUALLY Write Code
13:37
Thriving Technologist
Рет қаралды 1,5 МЛН
APP_INITIALIZER Token in Angular (Advanced, 2022)
23:56
Decoded Frontend
Рет қаралды 21 М.
Content Projection in Angular - Complete Guide (Beginners/Advanced)
26:18
Design Patterns in Plain English | Mosh Hamedani
1:20:01
Programming with Mosh
Рет қаралды 1,3 МЛН
What will he say ? 😱 #smarthome #cleaning #homecleaning #gadgets
01:00