O'Reilly logo

The Developer’s Guide to the Force.com Platform by Phil Choi, Andrew Fawcett, Glen Martin, Rick Greenwald

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing Apex

Before you can begin to learn about the syntax and capabilities of Apex, you need to learn the basics—the whats, hows, and whys of Apex.

What is Apex?

Apex is a strongly-typed, object-based programming language that allows developers to execute logic, flow and transaction control statements on the Force Platform. As you would expect, Apex is intimately connected with Force Platform data, offering powerful data interactions through both a query language and a search language.

You will learn most of the basic syntax in this chapter, with the next chapter devoted specifically to Apex data access and manipulation.

How Can You Use Apex?

Apex logic can be used in two different ways:

  • In a database trigger - A trigger is executed ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required