Apex

Navigation: Developer Force | App Logic | Apex Code

Apex Code

Force.com lets you implement a large percentage of your business logic using point-and-click declarative features such as workflows and approval processes. But sometimes you need more control than these features provide for. That's when you can leverage the power of Apex Code.

Apex is a strongly-typed, object-oriented programming language that lets you centralize and execute flow and transaction control statements on the Force.com platform in conjunction with application calls to Force.com ​APIs. Using syntax that looks like Java and acts like database stored procedures, Apex lets you add powerful custom business logic to most system events, including button clicks, related record updates, and Visualforce pages. Web service requests and database triggers on objects can also initiate the execution of Apex code.

Recommended Apex Code Learning Path

To begin learning about Apex Code, follow this path.

  1. Apex Code Quick Start
  2. An Introduction to Force.com Apex Code
  3. Apex Workbook [ HTML | PDF ]
  4. Beginner-Level Apex Code Dreamforce 2011 Sessions (see below for additional session links)
    1. Introduction to Programming with Force.com Apex Code
    2. Hands-On: Introduction to Force.com Code (Apex) for Non-Developers
    3. Hands-On: Introduction to Force.com Apex Code Patterns for Developers
  5. Webinars
    1. Webinar: Intro to Apex Code
    2. Webinar: Apex Code Testing and Coverage Best Practices
  6. Apex Code Cheat Sheet

Related Apex Code Resources

Here are some other helpful resources for Apex Code.

Documentation

  • Apex Code Developer's Guide [ HTML | PDF ]

Blog Posts

Articles

Intermediate- and Advanced-Level Apex Code Dreamforce 2011 Sessions