scientificarticle.page.titleprefix Comparative analysis of methods and algorithms for trigger-based transactional resource management in Salesforce
| custom.publicationorigin | Іноземні наукові видання | |
| dc.contributor.author | Andrushchak, Igor | |
| dc.contributor.author | Вandach, Heorhii | |
| dc.date.accessioned | 2026-12-02T10:38:59Z | |
| dc.date.issued | 2026 | |
| dc.description.abstract | This article presents a systematic comparative analysis of architectural frameworks for organizing Apex trigger logic on the Salesforce platform, evaluated through the lens of transactional resource consumption under governor limit constraints. Four widelyadopted frameworks are examined: Kevin O’Hara’s SFDC Trigger Framework, the Apex Enterprise Patterns library developed by Andrew Fawcett, the Trigger Actions Framework created by Mitch Spano, and a custom metadata-driven dispatcher approach based on the work of Abhishek Subbu. Each framework is assessed against a standardized set of quantitative metrics including SOQL query consumption, DML operation count, CPU execution time, heap memory allocation, and code volume. Experimental evaluation was performed in a controlled Salesforce Developer Edition environment using three interconnected objects with five business handlers processing bulk operations of 200 records. The analysis reveals that while all examined frameworks successfully address the fundamental problem of trigger logic structuring and provide mechanisms for execution order control and recursion prevention, none of them implements mandatory data access centralization or provides formal mathematical guarantees of governor limit compliance. The fflib framework demonstrates the most comprehensive architectural separation through its Domain, Selector, and Service layers but introduces significant implementation overhead. The Trigger Actions Framework offers superior declarative configuration capabilities through custom metadata with support for both Apex and Flow automations. The SFDC Trigger Framework provides minimal footprint with adequate functionality for simple scenarios. Experimental results confirm that resource consumption patterns vary significantly across frameworks, with SOQL query counts ranging from 18 to 47 per transaction depending on architectural approach and handler implementation practices. The findings establish a foundation for informed framework selection in enterprise Salesforce development and highlight the necessity of supplementary architectural patterns for guaranteed resource constraint compliance in complex multi-handler environments. | |
| dc.identifier.citation | Andrushchak I., Вandach H. Comparative analysis of methods and algorithms for trigger-based transactional resource management in Salesforce. International Science Journal of Engineering & Agriculture. 2026. Vol. 5, No. 2. 28-40. | |
| dc.identifier.doi | DOI: https://doi.org/10.46299/j.isjea.20260502.04 | |
| dc.identifier.uri | https://repository.lntu.edu.ua/handle/123456789/7644 | |
| dc.language.iso | en | |
| dc.relation.ispartofseries | 5; 2 | |
| dc.subject | Salesforce platform | |
| dc.subject | Apex trigger frameworks | |
| dc.subject | governor limits | |
| dc.subject | resource efficiency | |
| dc.subject | architectural patterns | |
| dc.subject | transactional resource management | |
| dc.subject | SOQL query optimization | |
| dc.subject | enterprise application development. | |
| dc.title | Comparative analysis of methods and algorithms for trigger-based transactional resource management in Salesforce | |
| dc.type | Article | |
| dspace.entity.type | ScientificArticle | |
| oaire.citation.volume | 5 |
Files
Original bundle
1 - 1 of 1
Loading...
- Name:
- j.isjea.20260502.04.pdf
- Size:
- 320.22 KB
- Format:
- Adobe Portable Document Format