Apex Class Decomposition Pattern

When and how to split an Apex class into Domain / Service / Selector layers using this repo's lightweight base classes (BaseDomain, BaseService, BaseSelector). Covers splitting signals, ordering of extraction, and naming conventions. NOT for a full fflib migration — use apex/fflib-enterprise-patterns. NOT for choosing a trigger handler framework — use apex/trigger-framework.

PranavNagrecha 39a1c16 7 files · 43.3 KB Updated 15 repo stars

File contents

PranavNagrecha/AwesomeSalesforceSkills/tree/main/skills/apex/apex-class-decomposition-pattern commit 39a1c16446

Frequently asked questions

npx skillmds add pranavnagrecha/apex-class-decomposition-pattern