Тёмный

32. All Structural Design Patterns | Decorator, Proxy, Composite, Adapter, Bridge, Facade, FlyWeight 

Concept && Coding - by Shrayansh
Подписаться 110 тыс.
Просмотров 28 тыс.
50% 1

➡️ Notes: Shared in the Member Community Post (If you are Member of this channel, then pls check the Member community post, i have shared the Notes link there)
➡️ Join this channel to get access to member only perks:
/ @conceptandcoding
Chapters:
00:00 - What is Structural Pattern
01:38 - Decorator Pattern
09:40 - Proxy Pattern
13:52 - Composite Pattern
21:05 - Adapter Pattern
24:44 - Bridge Pattern
31:24 - Facade Pattern
36:17 - Flyweight Pattern
Dedicated Videos link:
👉 Decorator Pattern: • 4. Decorator Design Pa...
👉 Proxy Pattern: • 13. Proxy Design Patte...
👉 Composite Pattern: • 19. Design File System...
👉 Adapter Pattern: • 20. Adapter Design Pat...
👉 Bridge Pattern: • 26. Bridge Design Patt...
👉 Facade Pattern: • 25. Facade Design Patt...
👉 Flyweight Pattern: • 30. Design Word Proces...
#systemdesign #softwareengineer #interviewpreparation

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

 

4 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 71   
@abhishekpattnaik8531
@abhishekpattnaik8531 9 месяцев назад
@24:19 , The client creates adaptor by using WeightMachineAdaptor wm = new WeightMachineAdaptor(new WeightMachineImpl()). Here client is also able to give the adaptee implementation. But client should not be able to use the adaptee, right? Can you help with this?
@sergiocosta3471
@sergiocosta3471 8 месяцев назад
Thanks for the good examples and the way that they where explained!
@ConceptandCoding
@ConceptandCoding 8 месяцев назад
Thanks
@aspiredifferent8085
@aspiredifferent8085 2 месяца назад
Thank You Sir, Very Helpful Content
@nehachoudhary9912
@nehachoudhary9912 2 месяца назад
The implementation of "FlyWeight" and "Singleton" kind of looks same. Is there a need to make "flyweight" thread safe too?
@lucygaming9726
@lucygaming9726 Месяц назад
The first example of Facade pattern looks similar to the Proxy Pattern. The second example made the pattern more clear.
@oluchukwuobi-njoku2204
@oluchukwuobi-njoku2204 5 месяцев назад
Thanks again for this, it's absolutely wonderful
@ConceptandCoding
@ConceptandCoding 5 месяцев назад
thanks
@gautampahwa1894
@gautampahwa1894 9 месяцев назад
Hello sir , Thanks for such a wonderful content. Please add more required content to HLD & LLD playlist.
@ConceptandCoding
@ConceptandCoding 9 месяцев назад
Sure buddy
@dev-rock
@dev-rock 10 месяцев назад
Keep up this great work!
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Thank you
@elvishdadhaniya9953
@elvishdadhaniya9953 10 месяцев назад
Hi, so in the flyweight example once we store body in map and assuming everytime i get it from the cache then memory used will be 31 * 2 = 62 kb only, right? or am i missing something here? @ConceptandCoding
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Right. 62KB + for any extrinsic data
@ayushgoyal773
@ayushgoyal773 10 месяцев назад
@@ConceptandCoding 62KB part will be allocated for each flyweight object that we are going to create. If there are only 3 variations in the intrinsic property, we will only need to create only 3 flyweight objects. Rest we will be using the same objects and just passing different params in a function.
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
@@ayushgoyal773 yes
@user-dy7ti7ku8v
@user-dy7ti7ku8v 10 месяцев назад
Hi I have a question, in the flyweight pattern instead of caching cant we just use a singleton object to keep the intrinsic data?
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
umm i dont think it will work out. because then you might have to create so many singleton classes. even object with minor change, you have to create a singleton for it.
@user-dk1zp8hw8s
@user-dk1zp8hw8s 5 месяцев назад
Thanks for the video... But I have a doubt that what is the difference between decorator and composite pattern
@ankitpandey3724
@ankitpandey3724 10 месяцев назад
Hi Shreyansh, thanks a lot for the effort you put in making these videos, can you please make a video based on LLD creation of stock brokerage platform like Zerodha, Groww. It would be a good real-life problem to solve.
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Sure buddy
@SuvamSinha-ii5ul
@SuvamSinha-ii5ul Месяц назад
In Flyweight pattern example, if the same object is returned everytime, wouldn't humanoidRobot1 and humanoidRobot2 just refers to the same object and it would just update the position rather than creation of two objects in two different positions ?
@dheerajkrgoyal
@dheerajkrgoyal 4 месяца назад
What is the difference between bridge and strategy pattern?
@ayushgoyal773
@ayushgoyal773 10 месяцев назад
A very helpful video, please also create one for all behavioural design patterns in a single video.
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Yes
@ayushgoyal773
@ayushgoyal773 10 месяцев назад
@@ConceptandCoding Thanks for replying, I was wondering, by when can we expect the video for all behavioural design patterns. P.S. - I have interviews starting next week.
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
@@ayushgoyal773 videos are already there, so do check out buddy
@qR7pK9sJ2t
@qR7pK9sJ2t 7 месяцев назад
Excellent !!!
@ConceptandCoding
@ConceptandCoding 7 месяцев назад
Thanks
@yuvraj3728
@yuvraj3728 9 месяцев назад
Is this lld playlist complete?I am final yr student so doing lld would be fine or hld is also required?Sorry for asking this silly question but i am going to start as i have heard positive reviews abt ur playlist
@ConceptandCoding
@ConceptandCoding 9 месяцев назад
Start with LLD first buddy, HLD theory you can learn but HLD in interview come after 1 or 2 yr of experience. LLD some videos are left
@user-sb2pu7qk7j
@user-sb2pu7qk7j 7 месяцев назад
As part of Bridge Pattern example, Since all Fisth, Dog, Trees are implementing the same function of calling breatheImplementor.breatheProcess() why not keep this function inside LivingThings class itself?
@prabhatkashyap8333
@prabhatkashyap8333 10 месяцев назад
Shreyansh bhai, please also make All creational and behaviour Design Patterns in 1 video just like this,
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
All Creational I have already made, pls check video no 27 i think. All behavioral i will make
@ankush1681
@ankush1681 10 месяцев назад
Sir by which month are we finishing java and will be starting with spring boot.
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Collection is going on and after that Multithreading and unit tests are left after that I will start buddy . By which month, i can not say, if I get some free time, i will complete within a month if little busy then it might get little extend too
@unemployedcse3514
@unemployedcse3514 6 месяцев назад
Awesome ❤
@ConceptandCoding
@ConceptandCoding 6 месяцев назад
thanks
@gunjanyadu865
@gunjanyadu865 3 месяца назад
Could you please share the link of the notes of community section. I am not able to find it there
@ConceptandCoding
@ConceptandCoding 3 месяца назад
its there, pls check, i have double checked
@supratikdutta6612
@supratikdutta6612 Месяц назад
I have taken the subscription to this channel. Can i get the link for the code
@raoraman64
@raoraman64 Месяц назад
Can you tell me difference between bridge and decorator pattern
@anantjain1263
@anantjain1263 10 месяцев назад
Can you make video where multiple patterns are used on same example
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Sure
@harshitagarwal2682
@harshitagarwal2682 2 дня назад
👍👍
@argha5017
@argha5017 3 месяца назад
Please create a video for all behavioral design patterns in single video. I couldnt find it.
@ConceptandCoding
@ConceptandCoding 3 месяца назад
yes i need to create that
@ktprasanth007
@ktprasanth007 10 месяцев назад
Bro when will u upload the remaining SD questions from the topic list that u have provided??
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
This month I will try to upload 2-3 HLD topocs
@ktprasanth007
@ktprasanth007 10 месяцев назад
@@ConceptandCoding But there are still some questions left from LLD right? What abt them?
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
@@ktprasanth007 covering them buddy, i need to switch between LLD, HLD and Java
@ktprasanth007
@ktprasanth007 10 месяцев назад
@@ConceptandCoding ohh okay! Thanks for ur content BTW ❤❤
@stockgeeky9992
@stockgeeky9992 7 месяцев назад
good video
@ConceptandCoding
@ConceptandCoding 7 месяцев назад
Thanks
@stockgeeky9992
@stockgeeky9992 7 месяцев назад
@@ConceptandCoding can you make one video that summarizes behaviour patterns as well?
@ConceptandCoding
@ConceptandCoding 7 месяцев назад
will do, 3 patterns left, will cover those first, then will club all behaviour in 1 video
@suryanshraghuvanshi9761
@suryanshraghuvanshi9761 3 месяца назад
bridge is similar to strategy design pattern isn't it?
@akshatgoyal1246
@akshatgoyal1246 5 дней назад
wrong arrow direction for interfaces and its implementations. Also it won't be a solid line, it will be a dotted arrow line.
@billion_dreams__7787
@billion_dreams__7787 10 месяцев назад
Bhaiya multithreading java me Kitta week ke bad aayega
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
I will finish the collections soon and then start multi threading
@billion_dreams__7787
@billion_dreams__7787 10 месяцев назад
@@ConceptandCoding how many week we can expect to start ??
@yajatdhawan1865
@yajatdhawan1865 10 месяцев назад
Hi bhaiya is this lld playlist complete?
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
No pls check the roadmap video, few videos are left
@yajatdhawan1865
@yajatdhawan1865 10 месяцев назад
@@ConceptandCoding ok and for freshers should we learn lld?
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
@@yajatdhawan1865 definitely yes
@learning7220
@learning7220 8 часов назад
Sir I am a very bright person with so many skills, but due to some bad decision I joined a service based company which posted me to Amazon. I go to Amazon office and work with Amazon team, but however I want to switch back to product based company, today I gave interview at Microsoft, all interviews went good but they ghosted me , I think after they knew that I am in Amazon via a service based company “epam systems” , they judged me and now they ghosted me. Is it really possible that companies like Microsoft ghost people after knowing that they are not a permanency employee rather than a contingent one . Because in the last interview I got such feeling that the interviewer judged me on it, and he didn’t wanted me on the team.
@rahulkhandelwal7034
@rahulkhandelwal7034 10 месяцев назад
Factory design pattern is missing ig
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
its creational design pattern buddy
@rahulkhandelwal7034
@rahulkhandelwal7034 10 месяцев назад
@@ConceptandCoding oh yeah sorry 😐
@manishchoudary6122
@manishchoudary6122 10 месяцев назад
26 Lakhs ki salary mil rhi hai tas main, ek video bana do Tata imagination challenge par
@ConceptandCoding
@ConceptandCoding 10 месяцев назад
Checking buddy
Далее
HOW DID SHE WIN??
00:49
Просмотров 14 млн
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
10 Design Patterns Explained in 10 Minutes
11:04
Просмотров 2,2 млн