No video

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

  Рет қаралды 38,380

Keerti Purswani

Keerti Purswani

2 жыл бұрын

A very important design pattern that I have discussed in multiple interviews and that has many applications in real world as well. Let me know in comments how you found the video!
𝐑𝐞𝐠𝐢𝐬𝐭𝐞𝐫 𝐨𝐧 𝐑𝐞𝐥𝐞𝐯𝐞𝐥 𝐭𝐨 𝐠𝐞𝐭 𝐲𝐨𝐮𝐫 𝐃𝐫𝐞𝐚𝐦 𝐉𝐨𝐛:
relvl.co/frp4
𝐑𝐞𝐠𝐢𝐬𝐭𝐞𝐫 𝐨𝐧 𝐑𝐞𝐥𝐞𝐯𝐞𝐥 𝐒𝐞𝐥𝐞𝐜𝐭:
relvl.co/jcwk
You can get 𝐃𝐈𝐒𝐂𝐎𝐔𝐍𝐓𝐒 using code "KEERTI" -
➡️ On 𝐈𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰𝐑𝐞𝐚𝐝𝐲 - get.interviewready.io/?_aff=K...
➡️ On 𝐄𝐝𝐮𝐜𝐚𝐭𝐢𝐯𝐞 - educative.io/keerti
➡️ On all 𝐆𝐞𝐞𝐤𝐬𝐅𝐨𝐫𝐆𝐞𝐞𝐤𝐬 paid courses - practice.geeksforgeeks.org/co...
Please 𝐬𝐮𝐛𝐬𝐜𝐫𝐢𝐛𝐞 here - / keertipurswani
You can also connect with me on-
𝐈𝐧𝐬𝐭𝐚𝐠𝐫𝐚𝐦 (for not so professional, chill side of my life) - keerti.purs...
𝐓𝐞𝐥𝐞𝐠𝐫𝐚𝐦 Channel - t.me/keertipurswani
𝐓𝐰𝐢𝐭𝐭𝐞𝐫 - KeertiPurswani?s=09
𝐋𝐢𝐧𝐤𝐞𝐝𝐈𝐧 - / keertipurswani
𝐂𝐡𝐞𝐜𝐤 𝐨𝐮𝐭 𝐭𝐡𝐞𝐬𝐞 𝐩𝐥𝐚𝐲𝐥𝐢𝐬𝐭𝐬-
𝐌𝐨𝐜𝐤 𝐈𝐧𝐭𝐞𝐫𝐯𝐢𝐞𝐰𝐬 - • Mock Coding Interview ...
𝐃𝐞𝐬𝐢𝐠𝐧 𝐏𝐚𝐭𝐭𝐞𝐫𝐧𝐬 -
• Intro to Design Patter...
𝐃𝐒𝐀 - • Median of 2 Sorted Arr...
𝐃𝐲𝐧𝐚𝐦𝐢𝐜 𝐏𝐫𝐨𝐠𝐫𝐚𝐦𝐦𝐢𝐧𝐠 - • Burst Balloon Problem ...
𝐇𝐨𝐧𝐞𝐬𝐭 𝐂𝐨𝐧𝐯𝐞𝐫𝐬𝐚𝐭𝐢𝐨𝐧𝐬 -
• Meet Hiring Manager at...
𝐂++ - • VTable & VPointers - V...
𝐁𝐚𝐬𝐢𝐜𝐬 𝐨𝐟 𝐈𝐧𝐯𝐞𝐬𝐭𝐦𝐞𝐧𝐭𝐬 - • What are IPOs? How to ...
𝐋𝐢𝐟𝐞 𝐚𝐭 𝐈𝐧𝐭𝐮𝐢𝐭 - • Meet my Manager at Int...
𝐒𝐡𝐨𝐫𝐭𝐬 - • Floor, Ceil use for Pr...
𝐂++ 𝐒𝐓𝐋 - • What is C++ STL? Why d...
𝐓𝐫𝐞𝐞𝐬 & 𝐆𝐫𝐚𝐩𝐡𝐬 - • BFS, DFS|Explanation w...
𝐖𝐢𝐭𝐡 𝐏𝐚𝐩𝐚 - • Explaining OOPs concep...
𝐒𝐲𝐬𝐭𝐞𝐦 𝐃𝐞𝐬𝐢𝐠𝐧 - • Factory Design Pattern...
𝐏𝐚𝐢𝐧𝐭𝐢𝐧𝐠𝐬 - • Wall Art | SwitchBoard...
𝐕𝐥𝐨𝐠𝐬 - • Best Ladakh Bike Trip ...
#systemdesign #designpatterns #softwareengineering

Пікірлер: 67
@smithau440
@smithau440 2 жыл бұрын
I used factory design pattern in my interview recently. Your video on factory DSP was very helpful. Looking forward for other design pattern videos.
@KeertiPurswani
@KeertiPurswani 2 жыл бұрын
Thank you so much Smitha ❤️❤️
@intezaralam9357
@intezaralam9357 2 жыл бұрын
+1
@spp1896
@spp1896 2 жыл бұрын
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 жыл бұрын
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'.
@neebanv
@neebanv 2 жыл бұрын
Watching youtube videos were never as informative and organised before. Appreciate your effort. and thank you so much😘
@user-fp6xd1mv6i
@user-fp6xd1mv6i 5 ай бұрын
Your videos are very concise and to the point. Very good for strong basics.
@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.
@dineshkumar-kg3ir
@dineshkumar-kg3ir 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
@sayandeepghosh2911
@sayandeepghosh2911 2 жыл бұрын
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 11 ай бұрын
You have simplified this pattern really well. Thanks a ton. Keep making more videos.
@roushanraj8530
@roushanraj8530 2 жыл бұрын
Top notch content di, eagerly looking forward for more videos in this Playlist...., this Playlist is going to be best on KZfaq 💯💯
@herculean6748
@herculean6748 Жыл бұрын
Thank you so much! best explanation and thanks for making it in C++
@rajatahuja8747
@rajatahuja8747 Ай бұрын
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?
@abhinavmisrha4259
@abhinavmisrha4259 Жыл бұрын
thank you ma'am for your simple explanation.
@maniyadav3256
@maniyadav3256 9 ай бұрын
Wow , I really liked it!!! I would like to have more examples on each pattern , please do suggest any resource for this !!
@rogueranger9032
@rogueranger9032 2 жыл бұрын
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
@sujatadeshinge7936
@sujatadeshinge7936 2 жыл бұрын
Nicely explained, plz keep uploading videos on design patterns
@ShivamKendre-fc3su
@ShivamKendre-fc3su 4 ай бұрын
great explained
@rahulpatil4749
@rahulpatil4749 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.
@basicthings5506
@basicthings5506 2 жыл бұрын
Very quick and to the point explanation of concepts 👍👍
@ersarthaksethi
@ersarthaksethi 4 ай бұрын
greatly explained
@balajijangde8470
@balajijangde8470 2 жыл бұрын
Great explanation mam, waiting for this type of content from a long time 👍👍👍👍👍
@auroshisray9140
@auroshisray9140 Жыл бұрын
Thanks a lot for this insightful video!
@AbhishekKumar-yv6ih
@AbhishekKumar-yv6ih 2 жыл бұрын
Great video, very simple explanation. Keep them coming
@sree1149
@sree1149 2 жыл бұрын
Thanks a lot for the clear explanation 😊
@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.
@shakshamchauhan1387
@shakshamchauhan1387 2 жыл бұрын
Amazing content, and looks very helpful. So a big Thank you.....😇
@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 👍
@rohitkesari229
@rohitkesari229 Жыл бұрын
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😅
@shambhavisharma6283
@shambhavisharma6283 Жыл бұрын
😂😂
@manas_singh
@manas_singh Жыл бұрын
Great explanation!
@abhisheksharma8757
@abhisheksharma8757 2 жыл бұрын
Hello ma'am u r doing great..your explanations are so ... soo good..plz upload on some more patterns
@nitinsinghchauhan5186
@nitinsinghchauhan5186 5 ай бұрын
easily explained ...
@anuraggoyar
@anuraggoyar 11 ай бұрын
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.
@nagavijaykumarprathi8531
@nagavijaykumarprathi8531 2 жыл бұрын
Your always awesome. Thank you so much for making things super easy.
@KeertiPurswani
@KeertiPurswani 2 жыл бұрын
Thank you so so much 🥺🥺🥺🥺❤️❤️❤️
@AZ-se5je
@AZ-se5je Жыл бұрын
I'm just curious about "Why did you used list?" only. We can use any std::vector as well right.
@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 ❤️😇
@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 8 ай бұрын
I have the same doubt. Have you found the answer yet?
@enter.netinfinity6136
@enter.netinfinity6136 2 жыл бұрын
I am subscribing ur channel by using ODP hope u will be notified if i understood the concept right 😝😝
@sharatpaul
@sharatpaul 2 жыл бұрын
Loved it . Nice and short explanation !!
@KeertiPurswani
@KeertiPurswani 2 жыл бұрын
Thank you so much ❤️😇
@sharatpaul
@sharatpaul 2 жыл бұрын
@@KeertiPurswani 😊❤️
@GRHmedia
@GRHmedia 6 ай бұрын
You used a list and pointers to register users. Both are antiquated methods. It also is bad for performance. Use a vector instead.
@nikhilsaini5284
@nikhilsaini5284 2 жыл бұрын
Is redux use this pattern, Like whenever state change is re render all subscribeed components?
@kshamapathak4693
@kshamapathak4693 11 ай бұрын
Can u explain it for python programming..
@akashpawar3382
@akashpawar3382 2 жыл бұрын
could you please make a video on VISITOR Design pattern
@urpradhan
@urpradhan 2 жыл бұрын
In user ctor we shouldn't be using this pointer, rather we should initialise the memeber with initialisation list.
@puneetsharma3583
@puneetsharma3583 8 ай бұрын
Why didn't we create the list with user class itself instead of creating another class Isubscriber. Please explain
@bhargavim9861
@bhargavim9861 3 ай бұрын
why not kafka?
@vickychettiar5756
@vickychettiar5756 Жыл бұрын
Hi, why did you create an interface ISubscriber and made your users implement that. What was the specific reason for doing so?
@santoshkumarpaul5304
@santoshkumarpaul5304 2 жыл бұрын
Mam plz make a detail video DSA+python 🙏
@AshishGusain17
@AshishGusain17 2 жыл бұрын
is interface necessary here?
@shubhamtiwari7704
@shubhamtiwari7704 20 күн бұрын
can anyone please clear, why it is , list not list ?
@shubhamtiwari7704
@shubhamtiwari7704 20 күн бұрын
@KeertiPurswani
@zerro361
@zerro361 Жыл бұрын
Great video. Congratulation! However, I was wondering. Don't we have a memory leak each time we remove a subscriber?
@2587shiv
@2587shiv 6 ай бұрын
Can you provide the Java code
@anuragmalviya2397
@anuragmalviya2397 Жыл бұрын
Hate the number of likes you get,like they're merely 8% of what you deserve according to the content you provide.
@monicachhabria3406
@monicachhabria3406 2 жыл бұрын
Please give timestamps . It would be helpful
@vvpChannel3112
@vvpChannel3112 7 ай бұрын
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!
Adapter Design Pattern | Explanation with Code in Easy Way! ✌🏻
19:04
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 26 МЛН
ТЫ С ДРУГОМ В ДЕТСТВЕ😂#shorts
01:00
BATEK_OFFICIAL
Рет қаралды 10 МЛН
小宇宙竟然尿裤子!#小丑#家庭#搞笑
00:26
家庭搞笑日记
Рет қаралды 29 МЛН
Observer Design Pattern in Java
14:34
Telusko
Рет қаралды 169 М.
Observer Design Pattern
22:27
Derek Banas
Рет қаралды 661 М.
C# Observer Pattern Example
14:10
Code Radiance
Рет қаралды 31 М.
Factory Design Pattern - Why and How with Code!!
15:35
Keerti Purswani
Рет қаралды 81 М.
8 Design Patterns EVERY Developer Should Know
9:47
NeetCode
Рет қаралды 1 МЛН
The Smart Way of Using the Decorator Pattern in C#
12:37
Nick Chapsas
Рет қаралды 67 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 956 М.
Magic trick 🪄😁
00:13
Andrey Grechka
Рет қаралды 26 МЛН