Apex Programming
The Salesforce platform uses the object-oriented programming language
called Apex. The language allows programmers to execute and perform
transactions to control statements on servers associated with
Salesforce. The syntax of the language is quite similar to Java.
Features of Apex Programming:-
Case insensitive
Perform DML operations
Use can use SOQL(salesforce object query language) and
SOSL(salesforce object search language)
Easy To Use
Easy To Test
Integrated
Strongly Typed
Application of Apex
Apex makes it simple for developers to build integrated websites.
Applications developed through Apex are easy to develop and use.
Developers can create applications that aren’t supported by
workflows and require complex business logic.
Email accounts can be added by developers to the web
application.
Applications created through Apex use transactional logic, where
the entire transaction is recorded rather than a single entry.
Developers can update records through the apex
Advantage of Apex
No need for buying the infrastructure and hire IT people as
Salesforce provides all the facilities.
Efficient in terms of cost because purchasing a monthly
subscription to Salesforce is far less expensive than the cost of
application maintenance and software license.
Security of the application, full Authentication and Authorization is
provided to the end-users by Salesforce for accessing the
application.
The Salesforce.com platform makes it simple for developers to
create new apps because they may leverage already-existing ones
or modify them to suit their needs.
Provides on-demand and multi-tenant platform. Moreover, Third-
party Saas applications may access the Salesforce.com backend
database with Apex's developers' permission.
Disadvantage of Apex
Developers won’t be able to create threads in Apex, unlike other
programming languages.
The default functionality cannot be changed by a developer. It can
only stop functionality from being added to the code or from
replacing existing functionality.
Temporary file creation is not possible in Apex.
Because all apex queries return a large number of records from
the database, developers should keep in mind that the application
they are building should be able to handle numerous records
(update, insert).
It cannot show the elements on the user interface.