O'Reilly logo

Mastering Application Development with Force.com by Kevin J. Poorman

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required