Тёмный

Why adapter design pattern is simpler to understand without charger analogy | LLD | Low Level Design 

sudoCODE
Подписаться 118 тыс.
Просмотров 38 тыс.
50% 1

Learning system design is not a one time task. It requires regular effort and consistent curiosity to build large scale systems. Moreover, every system has different requirements and meeting them requires expertise and people with varied and specific knowledge. There are a lot of resources to learn through videos. But not everyone enjoys that mode of learning. Instead some people understand things better by reading and thinking on the points put forward by the author. Such people can access these in different ways - blogs, articles and books. We have come up with this video to put light on one such aspect, that is - Low level Design for developing an admit card module for an app that generates admit card for various different universities.
Important links and resources:
✒ github.com/topics/low-level-d...
✒ Quick summary: docs.google.com/document/d/17...
------------------------------------------------------------------
Recommendations
------------------------------------------------------------------
Our full courses on youtube:
✒ System Design Primer Course: • System Design Primer C...
✒ REST APIs made easy: • REST APIs MADE EASY
Some paid courses that we recommend:
✒Educative.io: bit.ly/3qnW5ku
✒Interviewready.io: get.interviewready.io/ (Use coupon code SUDOCODE for extra discount)
------------------------------------------------------------------
About Us
------------------------------------------------------------------
Created and Instructed by:
Yogita Sharma
✒ LinkedIn - / yogita-sharma-83400b55
✒ Instagram - / sudo.code1
✒ Facebook - / sudo.code
✒ Medium - / yogita088
Post-production(editing, thumbnail etc) managed by:
CiKi
✒ Website: www.ciki.co.in
✒ LinkedIn: / 74735937
Colors and design by:
Naini Todi
✒ LinkedIn - / nainitodi
Both Arpit and Yogita are software engineers and want to help other software engineers become better by providing high quality and well researched content by adding their creativity and teaching twist.
------------------------------------------------------------------
Join Us
------------------------------------------------------------------
Hangout with sudoCode:
✒Discord Server: / discord
For business:
✒Email: sudocode.yogita@gmail.com
Timestamps:
0:00 - What will be covered?
0:24 - Introduction to Adapter Design Pattern
1:09 - Concept behind Adapter Design Pattern
2:01 - Class Diagram
2:55 - Analogy of Health Insurance
4:30 - Code walk-through
7:24 - Summary

Опубликовано:

 

5 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 62   
@meetvaghasia6653
@meetvaghasia6653 Год назад
Great example.. I read 10 15 articles and everyone gives forign plug adepter example. Now i understand this pattern. Thanks a lot
@sudocode
@sudocode Год назад
I am glad that it helped :)
@mukuldubey7196
@mukuldubey7196 Год назад
@@sudocode good morning mam i have tagged & messaged you a few times before on yt & insta but unable to connect with you , i find your previous videos very useful please help me futher with my few more queries regarding the omscs programme.
@VikhyatBhatnagarTECH-BLR
@VikhyatBhatnagarTECH-BLR Год назад
@@sudocode True the other adapter examples were not very intuitive for me
@narenshalivahana1111
@narenshalivahana1111 11 месяцев назад
@@sudocode me too thanks for playlist
@klawtawar
@klawtawar Год назад
It's easy to understand and much better than paid courses. Thank you for making this
@gauravsalunke8652
@gauravsalunke8652 10 месяцев назад
Thanks for this video. I went through multiple video to understand the adapter design pattern but your explanation is much simple and up to the point and easier to understand with the example you provide.
@simiiv5021
@simiiv5021 4 месяца назад
I have watched the whole series all day today and I am almost at the end. I have very clear understanding of SOLID, Design Partners and how to explain them in an excellent way using this series. Sweet, crisp, to the point and totally worth your time! Thank you for your content lady!
@saumitrasaxena8470
@saumitrasaxena8470 Год назад
Hi , I am following your series on Design Pattern and must say this Adapter Design Pattern is explained in a very good, impressive and conceptual way . No doubts at all. Thanks a lot !!!! and must say great example !!!
@SudhakarReddyChannel
@SudhakarReddyChannel Год назад
Crystal clear explanation with simple example. Excellent video. Thank you
@abymathew575
@abymathew575 Год назад
really nice and a simple presentation with a clear coding example. I'm a big fan of your tutorials
@dhalua
@dhalua Год назад
Great, plz continue the series and add more such great videos.
@punithckpunith2314
@punithckpunith2314 11 месяцев назад
Superb! Everytime I stuck at understanding something, I will come to social media. This time I stuck understanding adapter design pattern and divert myself to youtube. After watching this video I felt it I did a good job. Great example! I saw couple of articles and bought udemy course. Nothing worked for me. I felt worth to watch this video. I appreciate your effort on your creativity in using the example. The approach is neat, simple, elegant and higher ROI(time).
@debarghyasaha3415
@debarghyasaha3415 Год назад
Very well explained video. THE insurance example is terrific. thanks.
@aadeshsharma0001
@aadeshsharma0001 5 месяцев назад
Best examples, made it very easy to understand, thanks a lot.
@auroshisray9140
@auroshisray9140 Год назад
Thanks for putting this together!
@tanveer.shaikh
@tanveer.shaikh Год назад
Thanks, Yogita for such an easy and nice explanation, waiting for next videos
@swaminathbera6407
@swaminathbera6407 10 месяцев назад
You're one of the amazing teachers
@JK_SCIENTIST
@JK_SCIENTIST 2 месяца назад
Crystal Clear Explanation!
@narenshalivahana1111
@narenshalivahana1111 11 месяцев назад
how good u r in teaching, best examples,easy to understand
@riding.through
@riding.through Год назад
Thank you. This is really clear to understand. To me it looks like version of DAO, where instead of data, we are mapping methods.
@thetechmasum
@thetechmasum Год назад
Awesome 👍👍 loved the example
@gauravsalunke8652
@gauravsalunke8652 Год назад
Example were very useful. thanks for the video
@ankurcharan
@ankurcharan Год назад
hey, can you tell me how do you create animation?
@ShivamKendre-fc3su
@ShivamKendre-fc3su 4 месяца назад
Understood. Great video
@TheClockmister
@TheClockmister Месяц назад
Very insightful; some sources don't give this extra information...
@sanketh768
@sanketh768 10 месяцев назад
Thank you mam, for the simple explanation
@mandardeulkar6010
@mandardeulkar6010 Год назад
Amazing explanation:)
@pravinjadhav8055
@pravinjadhav8055 Год назад
I found this crisp and clear. Appreciate the content you are posting. One question I am a LAMP fullstack feveloper, I am thinking to learn Python instead of java for DSA. Whats you thoughts on this
@abdulrenishr
@abdulrenishr Год назад
Very well explained
@coder3842
@coder3842 Год назад
Really good content
@JK_SCIENTIST
@JK_SCIENTIST 2 месяца назад
Analogy - A translator in between two foreign Language speaker :) The translator translates the words of the speaker and tells the listener what the speaker is giving as an output!
@athulm8929
@athulm8929 6 месяцев назад
Good explanation
@anjukumari-ib2md
@anjukumari-ib2md Год назад
Well explained
@Itsme1n1ly
@Itsme1n1ly Год назад
You explained in Layman terms. Very very nice. Thanks for it. Keep doing. When will you publish bridge design pattern? Also i want to know about message bus architecture. How to create app by following SOA or Microservces architecture.
@chrispure7461
@chrispure7461 Год назад
Thank you. For LLD interviews, I always learn SOLID principles and design patterns. But the application of those in solving design problems in interviews is getting difficult for me. Hope you cover 2-3 interview LLD questions and the steps and approaches to follow to solve them using all these SOLID and design patterns.
@prashantrajawat2829
@prashantrajawat2829 Год назад
Mam please complete remaining video of solid principles. Your explanation is amazing 👍
@user-jr4jg6vp5s
@user-jr4jg6vp5s 8 месяцев назад
The Insurance example seems like a Factory design pattern . However, the explanation of student code gave good idea on this concept. Thankyou :)
@infinite639
@infinite639 Год назад
very Nice explanation ❤️
@eeat8669
@eeat8669 9 месяцев назад
Thank you
@alisen2785
@alisen2785 Год назад
I usually doesn't comment but this was an awesome explanation thank you for that.
@sumitbasu3397
@sumitbasu3397 Год назад
Thank you Yogita
@ChandraShekhar-by3cd
@ChandraShekhar-by3cd Год назад
Thanks for the informative video, but the code part was not clear to understand, I got the anology but couldn't get the code example well.
@sankar1788n
@sankar1788n Год назад
Great example and explanation but now I have a doubt on what's the difference between an adaptor and a wrapper. Are they both same thing with just different names?
@payambassi8784
@payambassi8784 Год назад
The physical example is not bad the only problem is that they don't explain properly which class would be the old plug, or the not adapted one, and which class or part of the code is the new versio or the socket that would accept the new pins, like the students list that accepts the interfaced version of the Students college or school. So the explanation would be something like this: You have a two pin blowdryer but you are in UK and the sockets accept 3 pins. You need an adapter. An adapter has two characteristics, first the part where the 2 pins go in the second part where the 3 pins go in the UK sockets and in the middle the 2 pins are connected to the 3 pins coming out. In this scenario the schoolStudent is the two pin blowdryer and CollegeStudent is the Hair straightener that your uncle gave you when he came from UK so no problem there! haha, just ignore it. The SchoolStudentAdapter like a physical adapter, remember, has two significant role, 1st is to accepts the 2 pins and 2nd is to go into the UK 3 pin socket. So blowdryer -> adapter -> UK socket in code schoolStudent -> schoolStudentAdapter -> studentsList : schoolAdapter initialises with schoolStudent meaning two pin blowdryer goes into adapter, then second part of adapter which needs to have 3 pins for UK sockets is achieved by implementing or conforming to the interface give you the 3 pins which then goes into the studentsList that accepts only Student interface implementations. Anyhow it was a great video, I also really liked the explanation about the legacy code and new code.
@danyald4880
@danyald4880 Год назад
Very nice content. Surprised its getting so less views
@PaulPronabananda
@PaulPronabananda Год назад
Hi Yogita Thanks for the nice topic. Can you please let me know, which software you use for editing the videos?
@mdnadeemasgar6279
@mdnadeemasgar6279 Год назад
Hi Yogita, can you please upload the code online and share the url in the description. So that we can also try manipulating the code for the given design pattern.
@sirfinsaan
@sirfinsaan 18 дней назад
nice
@codeblooded6760
@codeblooded6760 Год назад
Can only one type of object get adapted to a specific required type of object? Like in this example the methods used to return are .getFirstName , .getLastName, which are used only in student class
@sachinmukherjee29
@sachinmukherjee29 Год назад
Nice explanation. I have one doubt how the Arrays.asList() method uses this pattern? This is the code snippet of that method public static List asList(T... a) { return new ArrayList(a); }
@shubhamMishraReal111
@shubhamMishraReal111 Год назад
Much better than the paid courses
@Hsn-Ab
@Hsn-Ab 9 месяцев назад
We can implement student interface directly in the schoolstudent class amd it will be accepted in the list So what's the point of writing extra wrapper class or adapter pattern in this case? Could you please help me getting this part ?
@KyuriousBot
@KyuriousBot Месяц назад
I have the same question
@shubhamsamdani3503
@shubhamsamdani3503 Год назад
One Doubt: ESB service are based on adapter design pattern ?
@5590priyank
@5590priyank Год назад
is adaptors same as converters?
@VinayakKhairnar-bb7oc
@VinayakKhairnar-bb7oc 2 месяца назад
How can Arrays.asList is example of adaptor?
@MrMuntasir66
@MrMuntasir66 Год назад
This is the way this pattern should be taught.
@CyberMew
@CyberMew Год назад
What does “solve for the same” mean? Solve what same?
@akjoker79
@akjoker79 Год назад
Pleas use light theme in the IDE. It's difficult to follow the code
@TanishqAnand
@TanishqAnand Год назад
is this the last video?
@shankar7435
@shankar7435 5 месяцев назад
It would be nice if you would have mentioned Java language examples instead of passing that to the commentators.
Далее
Это реально работает?!
00:33
Просмотров 2,5 млн
How I Mastered Low Level Design Interviews
8:41
Просмотров 54 тыс.
10 Design Patterns Explained in 10 Minutes
11:04
Просмотров 2,2 млн
8 Design Patterns EVERY Developer Should Know
9:47
Adapter Pattern - Design Patterns (ep 8)
26:36
Просмотров 241 тыс.