Dependency Inversion in Apex Programming

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • Good software design makes use of the SOLID principles. This time we take a quick look at how to implement Dependency Inversion in Apex.

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

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

    Very well explained. Took me years to understand this, your video cleared all up in 20 minutes

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

    Very cool .. thank you for sharing. Will look for more good stuff from you :)

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

    This was great explanation. Thanks a lot 🙏

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

    Great video as usual, Brooks! From one SFDC developer to another I tip my hat to you for tackling these much-needed principles and design patterns on TH-cam. We definitely don't see enough of this type of thing for Apex. I'd love to see some real-life examples of interfaces if you get a chance-I've always wanted to use them but haven't come across many use cases.

    • @softwareengineeringandsale4005
      @softwareengineeringandsale4005  3 ปีที่แล้ว

      Thanks Jonathan I think spotting the use cases takes a little practice. A common one for me that uses SObjects would be constructing different tasks or emails .

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

    I came across your videos, and I have to say great work Brooks!👏 There is a lack of this kind of information and you have done a great work sharing your knowledge through all this videos.

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

    I just came across your TH-cam channel and let me say it is awesome! Please keep making these videos, they are very well done and your explanations are really easy to understand.

  • @stevenduong8126
    @stevenduong8126 2 ปีที่แล้ว

    Thanks so much. These are so awesome.

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

    Great videos! Looking forward for more.

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

    This was a great summary. Thanks!

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

    Hi, Thanks for sharing your expertise. You mentioned that we cannot use type class to instantiate, if the class being instantiated has constructor(s). I'm wondering how would we instantiate the class in such a case. Any advice is greatly appreciated. Best

  • @myinception
    @myinception 3 ปีที่แล้ว

    You said that the Type class works for no-argument constructors. Is there any way to instantiate a class in the same manner but which accepts arguments? Does Apex support this behaviour?