0% found this document useful (0 votes)
19 views2 pages

Apex Programming

Apex is an object-oriented programming language used on the Salesforce platform, similar in syntax to Java, that enables developers to perform transactions and control statements on Salesforce servers. It offers features like DML operations, SOQL, and SOSL, making it easy to develop applications with complex business logic, while providing advantages such as cost efficiency and security. However, it has limitations including the inability to create threads, change default functionality, and handle large record sets effectively.

Uploaded by

Arpit Chaturvedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

Apex Programming

Apex is an object-oriented programming language used on the Salesforce platform, similar in syntax to Java, that enables developers to perform transactions and control statements on Salesforce servers. It offers features like DML operations, SOQL, and SOSL, making it easy to develop applications with complex business logic, while providing advantages such as cost efficiency and security. However, it has limitations including the inability to create threads, change default functionality, and handle large record sets effectively.

Uploaded by

Arpit Chaturvedi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

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.

You might also like