Salesforce SoC and Apex Common Tutorial Series: Ep 1 - The Basics of Separation of Concerns

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ก.พ. 2025

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

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

    Not sure why I decided that I would say Apex Commons instead of just Apex Common... It's just the Apex Common Library. Please forgive me, lol.

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

    1. Presentation Layer -- UI(LWC,Aura)
    2. Service Layer -- business logic
    3. Domain Layer -- Triggers and default logic
    4. Selector Layer -- for Data access(fetch)

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

      the presentation layer is use just for the component (js,html,css) or the controllers too?

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

    Heya Gary, dude just want to say again thank you for these videos. I am considered a intermediate/senior Dev and I often refer to your videos just to make sure I know what I am talking about. I would love to hear your thoughts on how to jump ahead of the curve on the AI wave that is hitting Salesforce right now and how, as a developer, you can learn how to implement complicated AI solutions in Salesforce :)

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

    I'm so thankful with your videos and learning with you :)

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

    Really interesting, loooking forward to the Series. Would like you to bring out the difference between Domain and Service layer.

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

      I'm gonna do my best! Hopefully it'll all make sense afterward!

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

    Great video

  • @Josh-Cruz
    @Josh-Cruz 3 ปีที่แล้ว +1

    good stuff matt!

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

      Thanks man I'm glad you liked it! Thanks for havin me on the podcast the other day! I'm lookin forward to the episode! Thanks for all you do for the community as well!

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

    Excellent,It would be great if you could bring Apex mocks as well into the picture and have a deep dive into Apex commons

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

      Absolutely, we will definitely be covering that. It'll be covered in the last two episodes of this series. Episode 10 and 11.

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

      @@CodingWithTheForce Brilliant That you have an entire series.

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

    Thanks!

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

    Matt - I have a question, In AccountService accepting set of accountids, instead of returning a list of value result, returning a single record value. How this will be handled from trigger?

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

    Can you please upload a video on how to query case and case history object and update case based on last modified user in a batch class

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

    Hey probably not a question related to the video ... but can we choose a specific fields to be fetched from a cross org adapter ....

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

    Waiting for the second tutorial in Apex commons.

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

      It's comin, I promise! Technically the next five episodes are done I'm just trying to finish them all and release the whole series at once.

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

      @@CodingWithTheForce Oh that's brilliant.

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

    I'd love to hear your thoughts on re-usability for declarative automation as well. For example, if I have Flows and Apex that need to use the business logic in your example (ProjectedOppProfits), how should I structure that? Is it easiest to make a second identical method in AccountService that is usable as a Flow Apex action (ie. not bulkified)?

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

      It depends on who you ask to an extent I think and your use case. Personally, if I intend to leverage flows (or find I should leverage a flow in the future) I just make the method invocable and design the flow to think in bulk instead of single records.

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

    When you say that with declarative configuration, Salesforce takes care of most of the Separation of Concerns for you, can you elaborate on that?