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

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

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

  • @aspiredifferent8085
    @aspiredifferent8085 5 หลายเดือนก่อน +1

    Thank You Sir, Very Helpful Content

  • @lucygaming9726
    @lucygaming9726 4 หลายเดือนก่อน +1

    The first example of Facade pattern looks similar to the Proxy Pattern. The second example made the pattern more clear.

  • @oluchukwuobi-njoku2204
    @oluchukwuobi-njoku2204 8 หลายเดือนก่อน +1

    Thanks again for this, it's absolutely wonderful

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

    A very helpful video, please also create one for all behavioural design patterns in a single video.

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

      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 11 หลายเดือนก่อน +1

    Thanks for the good examples and the way that they where explained!

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

    Hello sir , Thanks for such a wonderful content. Please add more required content to HLD & LLD playlist.

  • @nehachoudhary9912
    @nehachoudhary9912 6 หลายเดือนก่อน +1

    The implementation of "FlyWeight" and "Singleton" kind of looks same. Is there a need to make "flyweight" thread safe too?

  • @qR7pK9sJ2t
    @qR7pK9sJ2t 10 หลายเดือนก่อน +2

    Excellent !!!

  • @dev-rock
    @dev-rock ปีที่แล้ว +2

    Keep up this great work!

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

    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.

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

    Shreyansh bhai, please also make All creational and behaviour Design Patterns in 1 video just like this,

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

      All Creational I have already made, pls check video no 27 i think.
      All behavioral i will make

  • @SuvamSinha-ii5ul
    @SuvamSinha-ii5ul 4 หลายเดือนก่อน

    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 ?

  • @unemployedcse3514
    @unemployedcse3514 9 หลายเดือนก่อน +1

    Awesome ❤

  • @Vasudha-e9m
    @Vasudha-e9m 8 หลายเดือนก่อน

    Thanks for the video... But I have a doubt that what is the difference between decorator and composite pattern

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

    wrong arrow direction for interfaces and its implementations. Also it won't be a solid line, it will be a dotted arrow line.

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

    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  ปีที่แล้ว +1

      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

  • @yelugulavenkatanagaprathap-k5u
    @yelugulavenkatanagaprathap-k5u 2 หลายเดือนก่อน

    what is farmhouse object here ???

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

    hey what's the difference between bridge and strategy?

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

    I have taken the subscription to this channel. Can i get the link for the code

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

    Can you tell me difference between bridge and decorator pattern

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

    Can you make video where multiple patterns are used on same example

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

    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  ปีที่แล้ว +1

      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.

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

    What is the difference between bridge and strategy pattern?

  • @stockgeeky9992
    @stockgeeky9992 10 หลายเดือนก่อน +1

    good video

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

      Thanks

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

      @@ConceptandCoding can you make one video that summarizes behaviour patterns as well?

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

      will do, 3 patterns left, will cover those first, then will club all behaviour in 1 video

  • @argha5017
    @argha5017 6 หลายเดือนก่อน

    Please create a video for all behavioral design patterns in single video. I couldnt find it.

  • @suryanshraghuvanshi9761
    @suryanshraghuvanshi9761 6 หลายเดือนก่อน

    bridge is similar to strategy design pattern isn't it?

  • @gunjanyadu865
    @gunjanyadu865 6 หลายเดือนก่อน

    Could you please share the link of the notes of community section. I am not able to find it there

    • @ConceptandCoding
      @ConceptandCoding  6 หลายเดือนก่อน

      its there, pls check, i have double checked

  • @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?

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

    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  ปีที่แล้ว +1

      Right.
      62KB + for any extrinsic data

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

      @@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

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

    👍👍

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

    Sir by which month are we finishing java and will be starting with spring boot.

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

      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

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

    Pizza decorator is not a pizza itself. So PizzaDecorator extending pizza doesn't sound correct

  • @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 ปีที่แล้ว +1

      @@ConceptandCoding ohh okay! Thanks for ur content BTW ❤❤

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

    Hi bhaiya is this lld playlist complete?

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

      No pls check the roadmap video, few videos are left

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

      @@ConceptandCoding ok and for freshers should we learn lld?

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

      @@yajatdhawan1865 definitely yes

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

    26 Lakhs ki salary mil rhi hai tas main, ek video bana do Tata imagination challenge par

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

    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?

  • @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 ??

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

    Factory design pattern is missing ig