Book Image

Learning Force.com Application Development

By : Chamil Madusanka
Book Image

Learning Force.com Application Development

By: Chamil Madusanka

Overview of this book

Table of Contents (21 chapters)
Learning Force.com Application Development
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Working with Apex


Before you start coding with Apex, you need to learn a few basic things.

Apex basics

Apex has come up with a syntactical framework. Similar to Java, Apex is strongly typed and is an object-based language. If you have some experience with Java, it will be easy to understand Apex. The following table explains the similarities and differences between Apex and Java.

Similarities

Differences

Both languages have classes, inheritance, polymorphism, and other common object oriented programming features

Apex runs in a multitenant environment and is very controlled in its invocations and governor limits

Both languages have extremely similar syntax and notations

Apex is case sensitive

Both languages are compiled, strongly-typed, and transactional

Apex is on-demand and is compiled and executed in the cloud

 

Apex is not a general purpose programming language, but is instead a proprietary language used for specific business logic functions

 

Apex requires unit testing for deployment...