Programmatic Development Using Apex and VisualForce

Unlock the potential of the Force.com platform with our expert-led course on Apex and Visualforce, designed for programmatic developers seeking to master application customization.

Course Thumbnail

Essential Skills Gained

Checkmark

Create and modify application objects using a declarative interface.

Checkmark

Write and test business logic customizations with Apex triggers and classes.

Checkmark

Design solutions integrating declarative customizations and programmatic logic.

Checkmark

Develop Visualforce pages and controllers to enhance user interfaces.

Format

  • Instructor-led
  • 5 days with lectures and hands-on labs.

Audience

  • Programmatic developers new to Force.com
  • Java or object-oriented developers
  • Developers seeking to enhance app customization
  • User interface designers familiar with HTML and JavaScript

Description

Are you a programmer who wants to understand how to customize applications programmatically on the Force.com platform? In this course, you will learn the core of the Apex programming language and Visualforce markup in order to customize your Force.com applications. You will get hands-on experience building data objects (sObjects) and programmatically retrieving, manipulating, and storing the data associated with those objects. You will write custom logic using Apex triggers and classes, and test that logic using the built-in testing framework. You will explore how Apex code interacts with declarative customizations on the platform, and the nuances of working on a multi-tenant platform. You’ll then examine common techniques for designing solutions in Apex. These activities will culminate in an exercise building a complex trigger that takes advantage of the declarative aspects of the platform. You will get hands-on experience writing Visualforce pages to customize your user interface and Visualforce controllers (in Apex) to modify the controller behavior behind the interface. You’ll also explore design techniques and the built-in testing framework around Visualforce.

Calendar icon

Upcoming Course Dates

No upcoming dates. Please check back later.

Course Outline

Download PDF

M1 Welcome

M2 Objects and Fields

  1. Describe the capabilities of objects on the Force.com platform.

  2. Create a custom object.

  3. Create custom fields.

  4. Create relationship fields.

M3 Work Effectively with Custom Objects and Fields

  1. Create formula fields.

  2. Create roll-up summary fields.

  3. Describe the capabilities of record types.

M4 Programming with Apex

  1. Describe key aspects of Apex that differentiate it from other languages, such as Java and C#.

  2. Describe why Apex transactions and governor limits must be considered when writing Apex.

  3. Execute simple Apex.

  4. Use the sObject data type, the primitive data types, and basic control statements in Apex.

M5 Use SOQL to Query Your Org's Data

  1. Write a basic query using Salesforce’s query language, SOQL.

  2. Process the result of a query in Apex.

  3. Create a query dynamically at run-time.

M6 Use SOQL to Query Parent-Child Relationships

  1. Describe a relationship query.

  2. Write a query that traverses a child-to-parent relationship.

  3. Write a query that traverses a parent-to-child relationship.

M7 DML Essentials

  1. List the differences between the ways you can invoke DML operations.

  2. Write Apex to invoke DML operations and handle DML errors.

M8 Trigger Essentials

  1. Describe what a trigger is used for.

  2. Describe the syntax of a trigger definition.

  3. Use trigger context variables.

M9 Classes

  1. Describe how Apex classes are used.

  2. Define an Apex class.

  3. Determine what data an Apex class can access.

M10 The Save Order of Execution and Apex Transactions

  1. Describe key points in the Order of Execution.

  2. Describe how triggers fit into and can be impacted by the Order of Execution.

  3. Describe the lifecycle of an Apex Transaction.

  4. Describe the memory lifecycle for static variables.

M11 Testing Essentials

  1. Describe Apex's testing framework.

  2. Create test data.

  3. Write and run an Apex test.

M12 Testing Strategies

  1. Describe practices for writing code that is easy to maintain and extend.

  2. Write triggers and classes that assume batches of data as input.

  3. Write code that works efficiently with the database, both in querying and using DML.

M13 Strategies for Designing Efficient Apex Solutions

  1. Determine your code coverage percentages.

  2. Create tests using best practices.

M14 Trigger Design Strategies

  1. List declarative mechanisms for implementing business logic.

  2. Use declarative functionality to improve programmatic solutions.

M15 Creating Visualforce Pages

  1. Create a Visualforce page.

  2. Reference a standard controller.

  3. Launch a Visualforce page using a custom button.

  4. Display data from a record in a Visualforce page.

M16 Exploring the View and Controller Layers of Visualforce

  1. Create a Visualforce page.

  2. Display related data.

  3. Invoke standard controller actions.

M17 Working with Custom Controllers and Controller Extensions

  1. Create controller extensions.

  2. Create a custom controller.

  3. Work with properties.

  4. Use PageReferences.

  5. Invoke custom methods in Visualforce pages.

M18 Working with List Controllers and SOSL Queries

  1. Use a standard list controller in a Visualforce page.

  2. Create a SOSL query.

  3. Create a custom list controller.

M19 Visualforce Development Considerations

  1. Determine whether a declarative solution exists for your requirements.

  2. Describe common governor limit issues and security concerns.

  3. Describe Visualforce strategies.

M20 Testing Visualforce Controllers

  1. Describe how a Visualforce controller interacts with the view.

  2. Write tests for controller constructors.

  3. Write tests for action methods, getters, setters, and properties.

Your Team has Unique Training Needs.

Your team deserves training as unique as they are.

Let us tailor the course to your needs at no extra cost.