ADM231: Introduction to Object-Oriented Programming with Force.com Code

$4,250.00


  • Classroom

  • Onsite
Duration: 5 Days

This course provides an introduction to object-oriented programming using Salesforce's Java-like programming language, Apex. You will learn the basics of creating classes and triggers in Force.com code as well as best practices and development methodology concepts to help you build your first Force.com applications. Upon completion of this class, you will have an understanding of how to construct basic programs for the Force.com platform, and you will have hands-on experience with the Force.com toolset.

What You Will Learn

 

  • Fundamentals of Force.com code development
  • Object-oriented programming concepts
  • General use cases where Force.com code is a good solution
  • Basic Force.com code syntax, available data types, and potential use of each
  • Ways Force.com code can be invoked
  • Different types of collections
  • Write SOQL for loops to handle bulk data
  • Execution order and where before and after triggers execute
  • Different governor limits and contexts
  • Create a unit test for a class using assertion methods
  • Requirements, steps, and tools available for deploying Force.com code

Audience

 

Those who are familiar with the Salesforce application user interface (UI) and customizing applications using the Setup menu and who want to gain an understanding of object-oriented programming and develop basic Force.com code development skills

Prerequistes

 

Familiarity with the Salesforce UI and how to customize applications using the declarative capabilities or

Course Outline

 

1. 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
  • Introduction to object-oriented programming, classes, and objects
  • Installation and development using the Force.com IDE

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

3. Force.com Code Class Construction

  • Classes and objects, including passing and returning variables, encapsulation, conditions and logic flow control, loops, and exception handling

4. 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
  • Introduction to querying data with SOQL and SOSL
  • Data Manipulation Language (DML)

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

Course Labs