Observer Design Pattern explained in EASY way with CODE and Real Examples!! ✌️

แชร์
ฝัง
  • เผยแพร่เมื่อ 15 พ.ย. 2024

ความคิดเห็น • 73

  • @smithau440
    @smithau440 2 ปีที่แล้ว +15

    I used factory design pattern in my interview recently. Your video on factory DSP was very helpful. Looking forward for other design pattern videos.

  • @spp1896
    @spp1896 2 ปีที่แล้ว +9

    Hi Keerti, your design patterns series is really useful, thanks for the effors. I have one request, it will be great if you can solve some LLD interview questions and explain how design patterns can fit into the problem.
    This will really help us understand how design patterns can be used in real world problems

  • @abhinavr5533
    @abhinavr5533 2 ปีที่แล้ว +3

    I love these design pattern videos. The code example helps conceptualize things better.
    I use this pattern all the time in my job, since it is part of MVC, where the data-model acts as the subject that is being 'observed'.

  • @AshankSingh-x9k
    @AshankSingh-x9k 8 หลายเดือนก่อน

    Your videos are very concise and to the point. Very good for strong basics.

  • @neebanv
    @neebanv 2 ปีที่แล้ว +1

    Watching youtube videos were never as informative and organised before. Appreciate your effort. and thank you so much😘

  • @intezaralam9357
    @intezaralam9357 2 ปีที่แล้ว

    Hello Keerti,
    They was you explain the concepts and then code it up is super easy. I have seen a lot of design patter tutorials but yours is the best one I have come across till. Thank you so much.

  • @sayandeepghosh2911
    @sayandeepghosh2911 2 ปีที่แล้ว +1

    Please push design patterns videos quickly. It's really going to help a lot of beginners like me. Thanks for such a precise and quality content ❤️❤️

  • @handover007
    @handover007 ปีที่แล้ว

    You have simplified this pattern really well. Thanks a ton. Keep making more videos.

  • @dineshkumar-kg3ir
    @dineshkumar-kg3ir 2 ปีที่แล้ว +2

    When i started watching i thought you're going to talk about asynchronous js redux and all. But it was really good quick intro to observable pattern. In extra revised all oops concepts as well :)
    Thank you keerti

  • @travelnlearn
    @travelnlearn 23 วันที่ผ่านมา +1

    amazing video

  • @abhinavmisrha4259
    @abhinavmisrha4259 2 ปีที่แล้ว

    thank you ma'am for your simple explanation.

  • @herculean6748
    @herculean6748 ปีที่แล้ว

    Thank you so much! best explanation and thanks for making it in C++

  • @roushanraj8530
    @roushanraj8530 2 ปีที่แล้ว

    Top notch content di, eagerly looking forward for more videos in this Playlist...., this Playlist is going to be best on TH-cam 💯💯

  • @maniyadav3256
    @maniyadav3256 ปีที่แล้ว

    Wow , I really liked it!!! I would like to have more examples on each pattern , please do suggest any resource for this !!

  • @colinmaharaj
    @colinmaharaj 2 ปีที่แล้ว

    Guess what, I understand the pattern, but recently we had an old sms system without an API. I used Wireshark to decipher the packets, from an old app, compared it to a documented protocol and got it working with my own API client library. I did something similar for an old email server. I used the first library and extensive knowledge of email protocol and email messaging to create an email to sms gateway. cool.

  • @AdityaDey424
    @AdityaDey424 2 ปีที่แล้ว

    Didi I am requesting to your , please try to upload other design patterns. Your explanation is really appreciable. Just watch once and never forget..... Thanks a lot 👍

  • @sujatadeshinge7936
    @sujatadeshinge7936 2 ปีที่แล้ว

    Nicely explained, plz keep uploading videos on design patterns

  • @basicthings5506
    @basicthings5506 2 ปีที่แล้ว

    Very quick and to the point explanation of concepts 👍👍

  • @auroshisray9140
    @auroshisray9140 ปีที่แล้ว

    Thanks a lot for this insightful video!

  • @balajijangde8470
    @balajijangde8470 2 ปีที่แล้ว

    Great explanation mam, waiting for this type of content from a long time 👍👍👍👍👍

  • @shakshamchauhan1387
    @shakshamchauhan1387 2 ปีที่แล้ว

    Amazing content, and looks very helpful.
    So a big Thank you.....😇

  • @manas_singh
    @manas_singh ปีที่แล้ว

    Great explanation!

  • @sree1149
    @sree1149 2 ปีที่แล้ว

    Thanks a lot for the clear explanation 😊

  • @anuraggoyar
    @anuraggoyar ปีที่แล้ว

    Hi,
    You said you did used the observer design in 3 of your interviews. I would be interested to what was the context and how you used the design pattern. that way we can relate more to the real life examples.
    Appreciate you work.

  • @abhisheksharma8757
    @abhisheksharma8757 2 ปีที่แล้ว

    Hello ma'am u r doing great..your explanations are so ... soo good..plz upload on some more patterns

  • @enter.netinfinity6136
    @enter.netinfinity6136 2 ปีที่แล้ว

    I am subscribing ur channel by using ODP hope u will be notified if i understood the concept right 😝😝

  • @rogueranger9032
    @rogueranger9032 2 ปีที่แล้ว +4

    Hi Keerti, I am currently working in a startup which has a tech stack of React Native, a hybrid platform to build mobile applications. I saw your other videos and see you have given a lot of interviews. Congratulations By the way! So in your opinion does current stack matter if I want to switch to a SDE role in big tech companies? Or DSA, HLD, LLD will be enough?

    • @rohansharma8618
      @rohansharma8618 2 ปีที่แล้ว

      I work at flipkart on React native

  • @ShivamKendre-fc3su
    @ShivamKendre-fc3su 7 หลายเดือนก่อน

    great explained

  • @sharatpaul
    @sharatpaul 2 ปีที่แล้ว

    Loved it . Nice and short explanation !!

    • @KeertiPurswani
      @KeertiPurswani  2 ปีที่แล้ว

      Thank you so much ❤️😇

    • @sharatpaul
      @sharatpaul 2 ปีที่แล้ว

      @@KeertiPurswani 😊❤️

  • @nagavijaykumarprathi8531
    @nagavijaykumarprathi8531 2 ปีที่แล้ว

    Your always awesome.
    Thank you so much for making things super easy.

    • @KeertiPurswani
      @KeertiPurswani  2 ปีที่แล้ว

      Thank you so so much 🥺🥺🥺🥺❤️❤️❤️

  • @akashpawar3382
    @akashpawar3382 2 ปีที่แล้ว

    could you please make a video on VISITOR Design pattern

  • @CSKnowledge007
    @CSKnowledge007 21 วันที่ผ่านมา

    Why are pointers with memory allocations is done instead of direcly defining class instances?

  • @nitinsinghchauhan5186
    @nitinsinghchauhan5186 8 หลายเดือนก่อน

    easily explained ...

  • @debmalyapan53
    @debmalyapan53 2 ปีที่แล้ว

    much awaited, loved it. plz do the same for the rest of the patterns as well soon.

    • @KeertiPurswani
      @KeertiPurswani  2 ปีที่แล้ว

      Coming up soon. Next one coming on sunday. Please do share with your friends ❤️😇

  • @rahulpatil4749
    @rahulpatil4749 2 ปีที่แล้ว +2

    Doubt :
    i have implemented it without using "ISubscriber" , instead i used "User" every where and it works fine.
    Is "ISubscriber" class really necessary ? if it is why ?
    P.S : Thanks for the playlist.I have watched all videos in this playlist its really great.

    • @saivirat1056
      @saivirat1056 2 ปีที่แล้ว

      There can be different types of subscribers with different kinds of notify implementation.

    • @hyperme1831
      @hyperme1831 2 หลายเดือนก่อน

      A well written code with explanation for code of Observer Design pattern us there in TechieContent medium article . Read that

  • @kshamapathak4693
    @kshamapathak4693 ปีที่แล้ว

    Can u explain it for python programming..

  • @rohitkesari229
    @rohitkesari229 2 ปีที่แล้ว +1

    Hi Keerti, my friend (SS) is saying that kuch khaas nhi h is video me, Please upload a kuch khaas video on observer pattern for her😅

  • @aribashhar3960
    @aribashhar3960 ปีที่แล้ว

    Why do we need ISubscriber interface ? since the notify method will be same for all users why create a redundant interface ? we can just create User class and make list it works right ?
    Please explain what am I missing.

    • @puneetsharma3583
      @puneetsharma3583 11 หลายเดือนก่อน

      I have the same doubt. Have you found the answer yet?

  • @AZ-se5je
    @AZ-se5je 2 ปีที่แล้ว

    I'm just curious about "Why did you used list?" only. We can use any std::vector as well right.

  • @santoshkumarpaul5304
    @santoshkumarpaul5304 2 ปีที่แล้ว

    Mam plz make a detail video DSA+python 🙏

  • @rajatahuja8747
    @rajatahuja8747 4 หลายเดือนก่อน

    In class "Group", Can we have list of 'User' instead of 'ISubscriber' like "list users;" and also in other functions having "ISubscriber" ?
    Basically not having the "ISubscriber" class at all. What is the purpose of having this Interface?

    • @CSKnowledge007
      @CSKnowledge007 21 วันที่ผ่านมา

      Other type of class can be used as subscriber, which implements Isubscriber

  • @GRHmedia
    @GRHmedia 9 หลายเดือนก่อน

    You used a list and pointers to register users. Both are antiquated methods. It also is bad for performance. Use a vector instead.

  • @anuragmalviya2397
    @anuragmalviya2397 ปีที่แล้ว +2

    Hate the number of likes you get,like they're merely 8% of what you deserve according to the content you provide.

  • @nikhilsaini5284
    @nikhilsaini5284 2 ปีที่แล้ว

    Is redux use this pattern,
    Like whenever state change is re render all subscribeed components?

  • @AshishGusain17
    @AshishGusain17 2 ปีที่แล้ว +1

    is interface necessary here?

  • @urpradhan
    @urpradhan 2 ปีที่แล้ว

    In user ctor we shouldn't be using this pointer, rather we should initialise the memeber with initialisation list.

  • @bhargavim9861
    @bhargavim9861 7 หลายเดือนก่อน +1

    why not kafka?

  • @puneetsharma3583
    @puneetsharma3583 11 หลายเดือนก่อน

    Why didn't we create the list with user class itself instead of creating another class Isubscriber. Please explain

  • @vickychettiar5756
    @vickychettiar5756 2 ปีที่แล้ว

    Hi,
    why did you create an interface ISubscriber and made your users implement that. What was the specific reason for doing so?

  • @zerro361
    @zerro361 2 ปีที่แล้ว

    Great video. Congratulation! However, I was wondering. Don't we have a memory leak each time we remove a subscriber?

  • @2587shiv
    @2587shiv 9 หลายเดือนก่อน

    Can you provide the Java code

  • @bhargavtupakula9896
    @bhargavtupakula9896 2 หลายเดือนก่อน

    can someone provide the code snippet pls

  • @shubhamtiwari7704
    @shubhamtiwari7704 3 หลายเดือนก่อน

    can anyone please clear, why it is , list not list ?

    • @shubhamtiwari7704
      @shubhamtiwari7704 3 หลายเดือนก่อน

      @KeertiPurswani

    • @CSKnowledge007
      @CSKnowledge007 21 วันที่ผ่านมา

      @@shubhamtiwari7704 because you can have a different class as a subscriber

  • @monicachhabria3406
    @monicachhabria3406 2 ปีที่แล้ว

    Please give timestamps . It would be helpful

  • @vvpChannel3112
    @vvpChannel3112 10 หลายเดือนก่อน

    You know what problems I have seen in your code....you have not used destructors in any of your Design pattern code...people may forget about destructor in interviews

  • @SoulMusicEuphoria
    @SoulMusicEuphoria ปีที่แล้ว

    Marry me!

  • @AbhishekKumar-yv6ih
    @AbhishekKumar-yv6ih 2 ปีที่แล้ว

    Great video, very simple explanation. Keep them coming

  • @ersarthaksethi
    @ersarthaksethi 7 หลายเดือนก่อน

    greatly explained