Design Patterns in Angular Source Code - Strategy Design Pattern

Поделиться
HTML-код
  • Опубликовано: 5 окт 2024

Комментарии • 78

  • @DecodedFrontend
    @DecodedFrontend  Год назад +2

    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!

  • @yuliakhitrukhina
    @yuliakhitrukhina Год назад +3

    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!

  • @giorgikirvalidze394
    @giorgikirvalidze394 Год назад +2

    hi, thx for informative videos, please upload more about design patterns.

  • @felipejacobs2296
    @felipejacobs2296 Год назад +2

    great video and especially the cat that takes center stage at the beginning 😅

  • @kanishkanaik2784
    @kanishkanaik2784 Год назад +3

    Need all the design pattern in angular

  • @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.

  • @ytamb01
    @ytamb01 Год назад +1

    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

  • @AlphaFrog1021
    @AlphaFrog1021 Год назад +2

    great video! I suggest turning off minimap and even sidebar to have more screen size

  • @denns0r
    @denns0r Год назад +2

    Wow that simple example was very helpful!! Great explanation. 👏

  • @dale_nguyen
    @dale_nguyen Год назад +3

    Great video. We need more screen time for the cat though 🤣

  • @deathbyjs
    @deathbyjs Год назад +3

    Thanks

  • @ico0z
    @ico0z Год назад

    Why there isn't a love button. This video e just perfect and you learn a lot from it. Thank you

  • @GLawSomnia
    @GLawSomnia Год назад +2

    Simple, yet effective :D Love your videos

  • @avijitghosh9472
    @avijitghosh9472 Год назад

    Just awesome. Always learning new things in details from your videos.

  • @oleksandrvorovchenko8674
    @oleksandrvorovchenko8674 Год назад +1

    Thanks. Great explanation as usual!

  • @atmn_pawel
    @atmn_pawel Год назад +3

    creator of the nest js in the background 0:10

  • @hubert.t4243
    @hubert.t4243 Год назад

    Again, as usual well explained.Thank you.

  • @carlosabud
    @carlosabud Год назад

    these videos are freaking amazing, Dmytro! please keep it up!!

  • @praktycznewskazowki6733
    @praktycznewskazowki6733 Год назад +1

    Very good series, Thanks! :)

  • @leandroalvarez9075
    @leandroalvarez9075 Год назад +1

    Hi! You are the best. Thanks for your videos. Could be some about unit testing? or testing in angular? Thanks you!

  • @Aliakbaresmaeiliiii
    @Aliakbaresmaeiliiii 7 месяцев назад

    thanx for your great job!

  • @demidovmaxim1008
    @demidovmaxim1008 Год назад

    Thanks for this video dear friend!)

  • @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

  • @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.

  • @gagiksimonyan3782
    @gagiksimonyan3782 Год назад +1

    Thanks for another useful video, Dmytro)

  • @christ-gospel
    @christ-gospel Год назад

    Thanks. Pls explain how to understand the angular code.

  • @Simon_IHG
    @Simon_IHG Год назад +1

    Very good video as always ! ❤️

  • @zhdanvadim9536
    @zhdanvadim9536 Год назад

    Thanks. Great explanation!

  • @kiransaravade5127
    @kiransaravade5127 Год назад

    great video

  • @nicohussein2635
    @nicohussein2635 Год назад +2

    Wow, amazing video!! 🚀
    Which resources do u recommend to learn/practice more about design patterns?

    • @DecodedFrontend
      @DecodedFrontend  Год назад +1

      refactoring.guru - is an awesome source to read more about it

  • @obadaka3918
    @obadaka3918 Год назад +1

    Thanks a lot😃

  • @Mr007Zeta
    @Mr007Zeta Год назад +1

    Instant like. Love your content

  • @santicanabalramos667
    @santicanabalramos667 Год назад +1

    I love this kind of videos :D

  • @yuriinadilnyi3029
    @yuriinadilnyi3029 Год назад

    I always learn a lot of new things from your videos)

    • @DecodedFrontend
      @DecodedFrontend  Год назад +1

      Glad to hear that, Yurii :) Thanks for the feedback!

  • @evtihii
    @evtihii 10 месяцев назад

    Cool pretty useful

  • @rezyadlf
    @rezyadlf Год назад +1

    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.

  • @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 🙏

  • @foobar846
    @foobar846 Год назад

    Great vídeo! Thank you!

  • @THIAGO_6721
    @THIAGO_6721 Год назад

    Amazing

  • @gund_ua
    @gund_ua Год назад +2

    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 Год назад +1

      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 Год назад +1

    awesome

  • @beodan9219
    @beodan9219 Год назад

    awsome

  • @devman5813
    @devman5813 Год назад +1

    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 :)

  • @piotrbrokowski4703
    @piotrbrokowski4703 Год назад +1

    Did you change the flat ?

  • @MrKOHKyPEHT
    @MrKOHKyPEHT Год назад

    9:48 rows 110, 111, 112, 113 - is that how overload implemented in TS?

  • @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!!

  • @chandreshmaurya1021
    @chandreshmaurya1021 Год назад +1

    I see u fixed the thumbnail 😉

  • @haroldpepete
    @haroldpepete Год назад +2

    CEO was checking the class and how was the last feature you were assigned, he looks angry

    • @DecodedFrontend
      @DecodedFrontend  Год назад +1

      Yeah, I probably forgot to food her, so that's why she looks angry :D

  • @irynakhariv5419
    @irynakhariv5419 Год назад +1

    Дякую😊

  • @coldcoder23
    @coldcoder23 6 дней назад

    I'm looking for a job

  • @MohamedAbdulRaouf
    @MohamedAbdulRaouf Год назад +1

    Brilliant as always, thank you 🙏🙏

  • @cdc_ua
    @cdc_ua Год назад +1

    thanx for your great job!