The Joys Of Apex

Who knew when, shortly after Christmas in 2019, I published a post detailing the joys and pains of developing applications in Apex that the response would be so overwhelming? Certainly not me. But I'm dedicated to making this your Apex test kitchen: a site filled with code recipes on the subjects that can be applied to any Salesforce org. Need a code recipe for randomly selecting elements from a list? How about implementing lazy iterators? Maybe you're looking to clean up your Dependency Injection model and can take some inspiration from the Factory pattern, or need to implement a simple mocking framework to speed up your unit tests and deploy times. No matter what the subject is, the Joys Of Apex has you covered.
Look, there's always room for improvement. Have a subject in mind you're hoping for a little more clarity on? Don't be afraid to drop me a line! I'm always looking for more inspiration, as well as guest posts. From Lightning Web Components (LWC), Aura, JavaScript, VisualForce, Apex and beyond, I hope the posts inspire you to stay excited in your own Salesforce journey.
Show More

Posts

The Tao Of Apex

Published: 2/27/2021

Naming Matters In Apex

Published: 1/31/2021

Replacing DLRS With Custom Rollup

Published: 12/31/2020

Random Shuffle For Lists & The Importance Of Revisiting Old Code

Published: 11/23/2020

Formula Date Issues

Published: 10/26/2020

Testing Custom Permissions

Published: 10/10/2020

The XY Problem In Programming

Published: 9/6/2020

setTimeout & Implementing Delays In Apex

Published: 8/12/2020

Refactoring Tips & Tricks

Published: 7/29/2020

LWC Custom Path

Published: 6/22/2020

LWC Modal Cleanup and Testing

Published: 6/15/2020

Lightning Web Component Composable Modal

Published: 6/12/2020

Lightning Web Component Composable Pagination

Published: 6/3/2020

Lazy Iterators

Published: 5/20/2020

Test Driven Development Example

Published: 5/3/2020

Continuous Integration With SFDX

Published: 4/29/2020

Building A Better Singleton

Published: 4/25/2020

Picklist Validation

Published: 4/14/2020

Batchable & Queueable Apex

Published: 3/27/2020

Sorting And Performance In Apex

Published: 3/22/2020

Object-Oriented Basics

Published: 3/18/2020

React Versus Lightning Web Components

Published: 3/17/2020

Extendable APIs

Published: 3/10/2020

Enum Apex Class Gotchas

Published: 3/5/2020

Writing Performant Apex Tests

Published: 3/2/2020

Lightweight Trigger Handler

Published: 2/29/2020

Idiomatic Salesforce Apex

Published: 2/10/2020

Future Methods, Callouts & Callbacks

Published: 1/24/2020

Repository Pattern

Published: 1/11/2020

Apex Logging Service

Published: 1/2/2020

Dependency Injection & The Factory Pattern

Published: 12/31/2019

Mocking DML

Published: 12/28/2019

Introduction

Published: 12/27/2019


Written by James Simone, software developer, climber, and sourdough bread baker. For more shenanigans, check out She & Jim!

© 2019, 2020 & 2021 - James Simone LLC