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

  Рет қаралды 43,764

Concept && Coding - by Shrayansh

Concept && Coding - by Shrayansh

Күн бұрын

Пікірлер: 80
@ElpyazYasarla
@ElpyazYasarla Ай бұрын
Hi, it should be like this. Controller / anyother -> Facade -> (Service1, service2 .. ) -> Dao. Here, service may have complex logic and may activities where client does not need to know. So, we can use Facade infront of service. So, client can use Facade
@Oooluuuu
@Oooluuuu 10 ай бұрын
Thanks again for this, it's absolutely wonderful
@ConceptandCoding
@ConceptandCoding 10 ай бұрын
thanks
@kanyakumari7514
@kanyakumari7514 9 күн бұрын
Before starting up with this video, coding examples available in this video?
@gautampahwa1894
@gautampahwa1894 Жыл бұрын
Hello sir , Thanks for such a wonderful content. Please add more required content to HLD & LLD playlist.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Sure buddy
@lucygaming9726
@lucygaming9726 6 ай бұрын
The first example of Facade pattern looks similar to the Proxy Pattern. The second example made the pattern more clear.
@prabhatkashyap8333
@prabhatkashyap8333 Жыл бұрын
Shreyansh bhai, please also make All creational and behaviour Design Patterns in 1 video just like this,
@ConceptandCoding
@ConceptandCoding Жыл бұрын
All Creational I have already made, pls check video no 27 i think. All behavioral i will make
@aspiredifferent8085
@aspiredifferent8085 6 ай бұрын
Thank You Sir, Very Helpful Content
@ayushgoyal773
@ayushgoyal773 Жыл бұрын
A very helpful video, please also create one for all behavioural design patterns in a single video.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Yes
@ayushgoyal773
@ayushgoyal773 Жыл бұрын
@@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 Жыл бұрын
@@ayushgoyal773 videos are already there, so do check out buddy
@sergiocosta3471
@sergiocosta3471 Жыл бұрын
Thanks for the good examples and the way that they where explained!
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Thanks
@qR7pK9sJ2t
@qR7pK9sJ2t 11 ай бұрын
Excellent !!!
@ConceptandCoding
@ConceptandCoding 11 ай бұрын
Thanks
@chandanshringi1154
@chandanshringi1154 Ай бұрын
What is the difference between facade and service?
@dev-rock
@dev-rock Жыл бұрын
Keep up this great work!
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Thank you
@ankitcode99
@ankitcode99 Жыл бұрын
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 Жыл бұрын
Sure buddy
@Vasudha-e9m
@Vasudha-e9m 9 ай бұрын
Thanks for the video... But I have a doubt that what is the difference between decorator and composite pattern
@nehachoudhary9912
@nehachoudhary9912 7 ай бұрын
The implementation of "FlyWeight" and "Singleton" kind of looks same. Is there a need to make "flyweight" thread safe too?
@SuvamSinha-ii5ul
@SuvamSinha-ii5ul 6 ай бұрын
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 ?
@nikhilsingh-xu5mi
@nikhilsingh-xu5mi Ай бұрын
If we see decorator pattern the final price will be 215 right as there will be a function override?
@unemployedcse3514
@unemployedcse3514 11 ай бұрын
Awesome ❤
@ConceptandCoding
@ConceptandCoding 11 ай бұрын
thanks
@sivaprasadk3384
@sivaprasadk3384 Ай бұрын
⁠please 🙏🏻 provide this notes as a pdf Thank you 🙏🏻
@anantjain1263
@anantjain1263 Жыл бұрын
Can you make video where multiple patterns are used on same example
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Sure
@yuvraj3728
@yuvraj3728 Жыл бұрын
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 Жыл бұрын
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
@rkreddy2699
@rkreddy2699 3 ай бұрын
hey what's the difference between bridge and strategy?
@OMSitapara
@OMSitapara Жыл бұрын
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 Жыл бұрын
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.
@supratikdutta6612
@supratikdutta6612 6 ай бұрын
I have taken the subscription to this channel. Can i get the link for the code
@raoraman64
@raoraman64 6 ай бұрын
Can you tell me difference between bridge and decorator pattern
@stockgeeky9992
@stockgeeky9992 Жыл бұрын
good video
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Thanks
@stockgeeky9992
@stockgeeky9992 Жыл бұрын
@@ConceptandCoding can you make one video that summarizes behaviour patterns as well?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
will do, 3 patterns left, will cover those first, then will club all behaviour in 1 video
@elvishdadhaniya9953
@elvishdadhaniya9953 Жыл бұрын
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 Жыл бұрын
Right. 62KB + for any extrinsic data
@ayushgoyal773
@ayushgoyal773 Жыл бұрын
@@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 Жыл бұрын
@@ayushgoyal773 yes
@dheerajkrgoyal
@dheerajkrgoyal 9 ай бұрын
What is the difference between bridge and strategy pattern?
@argha5017
@argha5017 8 ай бұрын
Please create a video for all behavioral design patterns in single video. I couldnt find it.
@ConceptandCoding
@ConceptandCoding 8 ай бұрын
yes i need to create that
@abhishekpattnaik8531
@abhishekpattnaik8531 Жыл бұрын
@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?
@gunjanyadu865
@gunjanyadu865 8 ай бұрын
Could you please share the link of the notes of community section. I am not able to find it there
@ConceptandCoding
@ConceptandCoding 8 ай бұрын
its there, pls check, i have double checked
@rjarora
@rjarora 25 күн бұрын
Bhai, you should give some real-world examples. All these examples like Pizza, Shape etc are only in theory and won't be appreciated during interviews for senior roles.
@ankush1681
@ankush1681 Жыл бұрын
Sir by which month are we finishing java and will be starting with spring boot.
@ConceptandCoding
@ConceptandCoding Жыл бұрын
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
@yelugulavenkatanagaprathap-k5u
@yelugulavenkatanagaprathap-k5u 4 ай бұрын
what is farmhouse object here ???
@suryanshraghuvanshi9761
@suryanshraghuvanshi9761 7 ай бұрын
bridge is similar to strategy design pattern isn't it?
@ktprasanth007
@ktprasanth007 Жыл бұрын
Bro when will u upload the remaining SD questions from the topic list that u have provided??
@ConceptandCoding
@ConceptandCoding Жыл бұрын
This month I will try to upload 2-3 HLD topocs
@ktprasanth007
@ktprasanth007 Жыл бұрын
@@ConceptandCoding But there are still some questions left from LLD right? What abt them?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
@@ktprasanth007 covering them buddy, i need to switch between LLD, HLD and Java
@ktprasanth007
@ktprasanth007 Жыл бұрын
@@ConceptandCoding ohh okay! Thanks for ur content BTW ❤❤
@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.
@harshitagarwal2682
@harshitagarwal2682 5 ай бұрын
👍👍
@billion_dreams__7787
@billion_dreams__7787 Жыл бұрын
Bhaiya multithreading java me Kitta week ke bad aayega
@ConceptandCoding
@ConceptandCoding Жыл бұрын
I will finish the collections soon and then start multi threading
@billion_dreams__7787
@billion_dreams__7787 Жыл бұрын
@@ConceptandCoding how many week we can expect to start ??
@yajatdhawan1865
@yajatdhawan1865 Жыл бұрын
Hi bhaiya is this lld playlist complete?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
No pls check the roadmap video, few videos are left
@yajatdhawan1865
@yajatdhawan1865 Жыл бұрын
@@ConceptandCoding ok and for freshers should we learn lld?
@ConceptandCoding
@ConceptandCoding Жыл бұрын
@@yajatdhawan1865 definitely yes
@techmannih
@techmannih Жыл бұрын
26 Lakhs ki salary mil rhi hai tas main, ek video bana do Tata imagination challenge par
@ConceptandCoding
@ConceptandCoding Жыл бұрын
Checking buddy
@yourinstincts
@yourinstincts Жыл бұрын
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?
@rahulkhandelwal7034
@rahulkhandelwal7034 Жыл бұрын
Factory design pattern is missing ig
@ConceptandCoding
@ConceptandCoding Жыл бұрын
its creational design pattern buddy
@rahulkhandelwal7034
@rahulkhandelwal7034 Жыл бұрын
@@ConceptandCoding oh yeah sorry 😐
@sivaprasadk3384
@sivaprasadk3384 Ай бұрын
@@ConceptandCodingplease 🙏🏻provide this notes as a pdf Thank you 🙏🏻
@kamalakantabehera3010
@kamalakantabehera3010 3 ай бұрын
Pizza decorator is not a pizza itself. So PizzaDecorator extending pizza doesn't sound correct
33. Iterator Design Pattern Explained with Example | Low Level Design
18:28
Concept && Coding - by Shrayansh
Рет қаралды 12 М.
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 12 МЛН
Why no RONALDO?! 🤔⚽️
00:28
Celine Dept
Рет қаралды 95 МЛН
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 7 МЛН
This is the Only Right Way to Write React clean-code - SOLID
18:23
Adapter Design Pattern | Explanation with Code in Easy Way! ✌🏻
19:04
5 Design Patterns That Are ACTUALLY Used By Developers
9:27
Alex Hyett
Рет қаралды 308 М.
Adapter Pattern - Design Patterns (ep 8)
26:36
Christopher Okhravi
Рет қаралды 246 М.
Design Patterns Master Class | All Design Patterns Covered
3:46:08
Daily Code Buffer
Рет қаралды 71 М.
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 12 МЛН