APEX

Master Apex programming with in-depth articles on SOQL, triggers, classes, and more. Learn how to create scalable and maintainable Salesforce applications.

33 posts
Apex Character Limit – What to do?
August 7, 2026

Apex Character Limit – What to do?

Everything about the Salesforce Apex character limit: how characters are counted, what is excluded, what actually breaks at 100%, how to get the limit increased, and a formatting change that cut 14.75% from a single class.

Piotr Gajek
Piotr Gajek

Senior Salesforce Developer

Beyond Best Practices – Why Following the Rules Can Break Your Code? – Czech Dreamin’ 26, Polish Dreamin’ 26

Beyond Best Practices – Why Following the Rules Can Break Your Code? – Czech Dreamin’ 26, Polish Dreamin’ 26

Following best practices blindly can make code worse. This post shows that rules are context-dependent – what improves readability, maintainability, or architecture in one case may add unnecessary complexity in another. Understand the trade-offs before applying any rule.

Piotr Gajek
Piotr Gajek

Senior Salesforce Developer

Apex Security and Sharing
March 8, 2026

Apex Security and Sharing

A practical guide to Salesforce security in Apex: how FLS and sharing really work, when to use USER_MODE, WITH SECURITY_ENFORCED, or stripInaccessible, and how class sharing keywords affect record access.

Piotr Gajek
Piotr Gajek

Senior Salesforce Developer

How to implement marker interfaces in Apex?
November 5, 2025

How to implement marker interfaces in Apex?

Marker interfaces are a familiar concept in Java but rarely discussed in Apex. This article introduces how they work, and how you can apply the same pattern in your own code. Through a practical example involving payment methods and optional confirmation modes, it demonstrates how marker interfaces let you extend behavior without modifying existing logic, illustrating a clean, compositional approach to flexibility in Apex.

Adam Osiecki
Adam Osiecki

Salesforce Developer

Salesforce Code Review & Handover Bingo: Common Mistakes and Red Flags 🚩

Salesforce Code Review & Handover Bingo: Common Mistakes and Red Flags 🚩

Whenever a project is handed over to you, some sort of review or state-of-the-art check should be done. We can make it a more fun, team activity and fill the bingo card during the investigation! Image done using Bingo Baker. To make this bingo play have some fun-factor, the mentioned concepts have different severity – […]

Stanisław Zań
Stanisław Zań

Salesforce Developer

Apex Queueable Processing Framework

Apex Queueable Processing Framework

Struggling with “Too many queueable jobs” errors in Salesforce? This guide introduces AsyncLib, a framework that manages Apex asynchronous processing with queueable chains. It helps overcome strict governor limits by chaining jobs using Salesforce’s Finalizer interface. AsyncLib simplifies async execution, error handling, and scheduling for Queueable, Batchable, and Schedulable jobs—no more complex workarounds or manual tracking.

Mateusz Babiaczyk
Mateusz Babiaczyk

Salesforce Certified Technical Architect

Importance of Having a Single Flow Trigger
May 13, 2025

Importance of Having a Single Flow Trigger

Splitting trigger logic into multiple flows seams tempting, but it comes with a big disadvantage. Check how to avoid this mistake and adjust your strategy based on your project.

Jan Śledziewski
Jan Śledziewski

Senior Salesforce Developer

Generic Code: What It Is and What It Is Not? – Polish Dreamin’ 25

Generic Code: What It Is and What It Is Not? – Polish Dreamin’ 25

Learn how to build truly generic code that’s easy to adopt, flexible, and avoids duplication. Uncover key principles, patterns, and real-world tips for writing maintainable code that focuses on the core problem and fosters effective collaboration.

Piotr Gajek
Piotr Gajek

Senior Salesforce Developer

List View API Updates in Spring’25 Release
March 12, 2025

List View API Updates in Spring’25 Release

Explore the power of Salesforce’s Spring’25 update with the enhanced lightning/uiListsAPI. This post dives into the expanded capabilities of List Views, highlighting its newfound ability to perform full CRUD operations. Learn about the various functions available in the adapter and discover practical examples of how to implement them in your Salesforce environment. Uncover how this update simplifies the development process, reduces maintenance of custom components, and optimizes your use of Salesforce platform features.

Mateusz Babiaczyk
Mateusz Babiaczyk

Salesforce Certified Technical Architect

Showing 9 of 33 results