Triggers, classes, instantiation – Oh My!
There are now only 45 days until Dreamforce & I promised to share enough so that you could sneak your way into the Hackathon (or if that’s not your thing, just impress new people that you talk to), so let’s jump right in!
A trigger is a chunk of code that does things (vague, I know). They look at a specific object, and can perform actions based on criteria set around that object. You can design them to run either before or after a insert, update or delete to that object in Salesforce.
Finally, instantiation (try saying it – it’s fun & you’ll feel really smart) is when you fire up that object factory & say “Go!” It is simply the act of creating an object from a class. I like this one the most only because I feel smart using it.
Thanks for reading! I hope my vocab series is useful & please provide feedback so that I can tune this up for the upcoming posts. See you next week, or join me over on Facebook!