What is Apex?
-
“Apex is a strongly typed object-oriented programming language which is a proprietary language developed by salesforce.com to allow us to write the code that executes on the Salesforce platform.”
-
Used for building the SaaS application on top of salesforce.com CRM functionality on salesforce PaaS.
-
Saved compiled and executed on the servers of the Salesforce platform.
-
It enables the developer to add business logic to most of the system events including button on-clicks, related record updates, VF pages, LWC, and Aura Components.
Features of Apex
-
It upgrades automatically.
-
Apex is a case-insensitive language.
-
Integrated with the DB which means it can access and manipulate records without the need to establish the DB connection explicitly.
-
It has Java-like syntax and it is easy to use.
-
It is easy to test as it provides built-in support for executing test cases.
-
Multi-Tenant Environment.
-
You can save your apex code against different versions of the Salesforce API.
