Writing Apex code

Now that you have a feeling for the basics of Apex syntax, you can finally jump into creating some Apex code. This example uses the Force Platform IDE to create the code. You will learn about triggers in the next chapter, which focuses on Apex and its interactions with Force Platform data.

Using the Force Platform IDE

In Chapter 8: The Force Platform IDE, you learned about the Force Platform IDE. This development environment is based on the popular Eclipse framework.

You will be using the Force Platform IDE to create and save Apex classes and methods, culminating in a class that uses features of Apex to insure a particular type of data integrity.

But you should walk before you run, so the next few sections develop some very ...

Get The Developer’s Guide to the Force.com Platform now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.