Detailed Course Outline
Introduction to Force.com Code
- Overview, including Force.com code in the salesforce.com stack, environment requirements, usage scenarios, the development lifecycle, execution methods, and salesforce.com objects and fields
- An introduction to object-oriented programming, classes, and objects
- Installation and development using the Force.com IDE
Force.com Building Blocks
- Classes, variables and methods, and data objects
- Data objects and relationships between objects
- Force.com code variables, data types, and expressions
- Best practices for formatting, commenting, and naming conventions
Force.com Code Class Construction
- Classes and objects, including passing and returning variables, encapsulation, conditions and logic flow control, loops, and exception handling
Force.com Triggers and Data
- Introduction to Force.com triggers, including when to use a trigger, order of execution, creation and development considerations, and governors and limitations
- An introduction to querying data with SOQL and SOSL
- Data Manipulation Language (DML)
Testing, Debugging, and Deployment
- Debugging scenarios, methods, and tools
- Test classes, unit testing, testing requirements and strategies, and considerations and best practices
- IDE testing and an overview of Salesforce CRM UI testing
- Deployment checklist and preparation steps
- Force.com IDE deployment