Chapter 2. Architecting Sustainable Triggers Using a Trigger Framework
This chapter starts with a quick refresher on Salesforce triggers. We'll look at the fundamental basics of how they work and when to use them. We'll then look at the concept of a trigger framework and dive deep into the how and why of a particular framework.
In this chapter, we will see the following topics:
- An overview of triggers
- Issues with traditional trigger architecture
- Trigger frameworks
- SFDC-trigger-framework
An overview of triggers
We are all familiar with the strange triangular hammer, which our doctor hits us with in the knee, making our leg kick out involuntarily. The key to reflexes is that they are automatic and programmed deep inside us. So deep, in fact, that at runtime ...
Get Mastering Application Development with Force.com now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.