App Logic

App Logic

Use Apex code, Formulas and/or Workflow and Approvals to add logic to your applications. Apex is a strongly-typed programming language used for controllers, database triggers, web services and more. Formulas are similar to equations that are executed at run time, used as object fields and as an expression language. Workflow and Approvals provide declarative actioning of tasks based on changes to data together with an approval engine.

Overview

Apex - An Introduction to Apex Code: A technical introduction to Apex, its syntax, features, and use on Force.com.
Formulas - An Introduction to Formulas: An overview of formulas, together with examples of how they are used on the platform.
Workflow - Force.com Workflow and Approvals Demo screencast

Official Documentation

Force.com Apex Code Developer's Guide
Version 18.0 for Spring '10: HTML | PDF | Governor Limits | Earlier Versions
Reference for Apex, a Java-like programming language that allows you to add custom logic to your apps.

Apex Quick Start Tutorial
Basic Tutorial | Advanced Tutorial
A quick start tutorial introduction to the Apex programming language.

Apex Code Cheat Sheet PDF
Print it out and hang it on your wall for a handy quick reference.

Formulas Cheat Sheet PDF
Print it out and hang it on your wall for a handy quick reference.

Recent Apex Resources

Apex Code Cheat Sheet: A concise reference guide to Apex code.
How to Write Good Unit Tests - discover the proper structure, code scenarios, and the properties of well-written unit tests
Apex Code Best Practices - Program better and more efficiently with these best practices.
Governors in Apex Code - Learn why governors are used on Force.com and how they are calculated.
An Introduction to Apex Code Test Methods - Introduces test methods, covering syntax, best practices and advanced topics in code coverage
Security Tips for Apex and Visualforce Developers - Learn how to deal with the security implications of Cross-Site Scripting, Cross-Site Request Forgery and SOQL Injection

Apex Resource Page >>


Recent Formula Resources

Formulas Cheat Sheet: A concise reference guide to Formulas.
An Introduction to Formulas provides an overview of formulas, together with examples of how they are used on the platform.

Image:Icon video sm.gif Building Smarter Apps Using Formulas and Workflow: a great webinar showing how to use formulas to improve applications

Formula Resource Page >>


Recent Workflow and Approvals Resources

Image:Icon video sm.gif Building Smarter Apps Using Formulas and Workflow: a great webinar showing how to use formulas to improve applications

PTODemo: This screencast provides an overview of using approvals and other platform features to create a complete Time Off request and management app.

Workflow and Approvals Resource Page >>


Discussion Boards