The ADM231 - Introduction to Object-Oriented Programming with Force.com Code course provides Salesforce Administrators with the skills for implementing basic business logic using Apex, the primary programming language of the Salesforce platform. In this course, you will learn how to read Apex code and then you will gradually increase your programming skills from writing single debugging statements to programming multiple, multi-line blocks of code.
When you complete this course, you will be able to:
- Demonstrate the fundamentals of Force.com code development
- Describe object-oriented programming concepts
- Evaluate general use cases where Force.com code is a good solution
- Consider basic Force.com code syntax, available data types, and potential use of each
- List the ways Force.com code can be invoked
- Compare and contrast the different types of collections
- Write SOQL for loops to handle bulk data
- Review execution order and where before and after triggers execute
- Test the different governor limits and contexts
- Create a unit test for a class using assertion methods
- Understand the requirements, steps, and tools available for deploying Force.com code
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
Introduction to Object-Oriented Programming with Force.com Code is designed for people who are familiar with the Salesforce application user interface and customising applications using the Setup menu and who want to gain an understanding of object-oriented programming and develop basic Force.com code development skills.
Course participants should be familiar with the Salesforce UI and how to customise applications using the declarative capabilities.