Did you ever face the challenge of requiring to stub one method of the same class-type with different implementations? In this article I’d like to highlight the (simple) possibility within the fflib framework.
Apex Loop & Map performance comparisons
Do you know applying a different way of writing a for-loop could save you up to a second or 70% performance per execution?! This article highlights three optimal implementations in Apex, hopefully to make everyone aware of the end-user impact of choosing one or the other implementation.
Securely support unsupported OAuth Flows in Salesforce
In need to authenticate using a not-supported OAuth Flow in Salesforce? No need to hardcode passwords in code or setup! This article explains in details how to securely support unsupported OAuth Flows, while giving a hint on how to allow debugging of your custom Auth Provider.
Extensive test/mocking example guide in fflib
Are you (semi-)familiar with fflib but sometimes still feeling challenged to write constructive test methods, without copy-pasting everything? This post is more like an extensive guide, showing example code for reference, but also deep-diving into the why and how of certain lines of code.
Reparent ThirdPartyAccountLinks
Have you ever been challenged with maintaining ThirdPartyAccountLinks/TPALs? This article elaborates on how to make them writable and shares the workarounds for most common challenges, especially when re-parenting.
Restricted status codes for HTTP Response in Salesforce
Did you know Salesforce has limited the status codes which can be returned in a HTTP Response? This article lists the missing ones and elaborates on how to resolve this.
Enterprise Design Pattern (fflib)
What is the Enterprise Design Pattern; why would you apply it; where and how to start? Implementing this pattern will help you structure your code base, promote reuse of methods and allow to reduce unit test runtime thanks to Mocking.