Programmatic Development using Apex and Visualforce (DEV-450)

Programmatic developers new to the platform who need to be able to write programmatic customizations using Apex and Visualforce


  • At least a year of experience with programming in Java or another object-oriented programming language
  • Basic knowledge of:
  1. Salesforce concepts and functionality
  2. Data modeling for relational databases
  3. SQL
  4. HTML
  5. JavaScript

Expected Duration
5 day


Are you a programmer who wants to understand how to customize applications programmatically on the platform In this course, you will learn the core of the Apex programming language and Visualforce markup in order to customize your 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. Youll 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. Youll also explore design techniques and the built-in testing framework around Visualforce.


1. Objects and Fields

  • Describe the capabilities of objects on the platform
  • Create a custom object
  • Create custom fields
  • Create relationship fields

2. Work Effectively with Custom Objects and Fields

  • Create formula fieldsCreate roll-up summary fields
  • Describe the capabilities of record types

3. Programming with Apex

  • Describe key aspects of Apex that differentiate it from other languages, such as Java and C#
  • Describe why Apex transactions and governor limits must be considered when writing Apex
  • Execute simple Apex
  • Use the sObject data type, the primitive data types, and basic control statements in Apex

4. Use SOQL to Query Your Orgs Data

  • Write a basic query using Salesforces query language, SOQL
  • Process the result of a query in Apex
  • Create a query dynamically at run-time

5. Use SOQL to Query Parent-Child Relationships

  • Describe a relationship query
  • Write a query that traverses a child-to-parent relationship
  • Write a query that traverses a parent-to-child Relationship

6. DML Essentials

  • List the differences between the ways you can invoke DML operations
  • Write Apex to invoke DML operations and handle DML errors

7. Trigger Essentials

  • Describe what a trigger is used for
  • Describe the syntax of a trigger definition
  • Use trigger context variables

8. Classes

  • Describe how Apex classes are used
  • Define an Apex class
  • Determine what data an Apex class can access

9. The Save Order of Execution and Apex Transactions

  • Describe key points in the Order of Execution
  • Describe how triggers fit into and can be impacted by the Order of Execution
  • Describe the lifecycle of an Apex Transaction
  • Describe the memory lifecycle for static variables

10. Testing Essentials

  • Describe Apexs testing framework
  • Create test data
  • Write and run an Apex test

11. Testing Strategies

  • Describe practices for writing code that is easy to maintain and extend
  • Write triggers and classes that assume batches of data as input
  • Write code that works efficiently with the database, both in querying and using DML



Select Course Options