Join Duard Lynn Davis for an in-depth discussion in this video Exercise files, part of Learning Salesforce.com Development.
- [Instructor] During this course, we will be doing some live coding. Exercise files have been provided so that you can follow along. In Chapter Two, we're going to be using something called the Execute Anonymous window that is the developer console of Salesforce. In the video, we'll go through how to access the developer console and then how to access the anonymous window. What you will be doing is taking both the begin and end states, copying this code, and pasting it directly into that Anonymous Execute window, then execute, and you'll be able to see the results of this code executing.
For the end state prior to inserting the code, you will need to make one modification. This has to be a valid ID for a contact that is in your org. So you'll need to find a contact and actually copy this ID and paste it in here after pasting the code into the Execute Anonymous window. For chapters three and four, we will be using Eclipse. For the begin state, we will actually use Eclipse to create a case trigger and a case trigger handler.
The code that is created will look exactly like this for both the case trigger and the case trigger handler. For the end state, you will be copying the code here for the case trigger although it looks pretty ugly here. The formatting doesn't work in Notepad. Once you copy and paste this into Eclipse, the formatting will look correct, and we will do that both for the case trigger and the case trigger handler.
- How Apex works
- Bulkification and triggers
- Systematically debugging your code
- Sets, lists, and maps
- Trigger and trigger handlers
- Batch Apex
- Debugging and logging