Get started with Apex

Apex Code is the first on-demand programming language, designed to extend your Force.com applications to meet your custom needs.

Although Force.com applications built exclusively with features of the App Framework deliver deep and rich capabilities, you may need to specify additional functionality to address your specific issues. Apex Code can be used to create triggers, fired by database actions, or classes, which define Apex Code that can be called from triggers or other classes.

The following resources will help you to get started with Apex Code -

  • Apex Overview Presentation - This presentation outlines the key concepts and capabilities of Apex Code, the new on-demand programming language, as well as the broader technologies of the Force.com platform.
  • Apex Code Demo - This demonstration of Apex Code and the Apex platform is a great developer-oriented introduction to the capabilities of these technologies.
  • Basic Apex Code Script - Snippets to demonstrate basic syntax.
  • Apex Code Language Reference (PDF) - This documentation serves as an introduction and essential reference for developers using Apex Code.

You can use Eclipse as your development environment for Apex Code. The Force.com IDE provides a full IDE for creating, editing, compiling and debugging your Apex Code triggers and packages. The toolkit also supports S-control and Javascript/AJAX authoring.