What is Apex? - PowerPoint PPT Presentation

About This Presentation
Title:

What is Apex?

Description:

Apex is a strongly typed, object-oriented programming language similar to JAVA that allows programmers to execute their code on Salesforce servers including API calls. It uses syntax that appears like Java and acts like database stored procedures. It enables programmers to implement logic to most system events which include button clicks, related record updates, and Visualforce pages. Its codes are often initiated by Web service requests, from triggers on objects, LWC, and aura components. – PowerPoint PPT presentation

Number of Views:118

less

Transcript and Presenter's Notes

Title: What is Apex?


1
What is Apex?
  • WWW.STUDYSECTION.COM

2
What is Apex?
  • Apex is a strongly typed, object-oriented
    programming language similar to JAVA that allows
    programmers to execute their code on Salesforce
    servers including API calls. It uses syntax that
    appears like Java and acts like database stored
    procedures. It enables programmers to implement
    logic to most system events which include button
    clicks, related record updates, and Visualforce
    pages. Its codes are often initiated by Web
    service requests, from triggers on objects, LWC,
    and aura components.

3
As a language, Apex is
  • Integrated
  • It provides built-in support for common Lightning
    Platform idioms, including
  • Data manipulation language (DML) calls, like
    INSERT, UPDATE, and DELETE, which include
    DmlException handling.
  • Inline Salesforce Object Query Language (SOQL) to
    query records of an object and Salesforce Object
    Search Language (SOSL) queries that return lists
    of sObject records.
  • Looping that permits for bulk processing of
    multiple records at a time
  • Locking syntaxes that prevent record update
    conflicts while execution.
  • Custom public API calls will be built from stored
    Apex methods
  • Warnings and errors are issued when a user tries
    to edit or delete a custom object or field thats
    referenced by Apex

4
Easy to use
  • Apex is predicated on familiar Java idioms, like
    variable and expression syntax, block and
    conditional statement syntax, loop syntax,
    object, and array notation. Where it introduces
    new elements, it uses syntax and semantics that
    are easy to know and encourage efficient use of
    the Lightning Platform. Therefore, it produces
    code thats both succinct and straightforward to
    write down.

5
Data focused
  • Apex is predicated on familiar Java idioms, like
    variable and expression syntax, block and
    conditional statement syntax, loop syntax,
    object, and array notation. Where it introduces
    new elements, it uses syntax and semantics that
    are easy to know and encourage efficient use of
    the Lightning Platform. Therefore, it produces
    code thats both succinct and straightforward to
    write down.

6
Rigorous
  • Apex is a strongly typed language that uses the
    direct reference to schema objects like object
    and field names. It fails quickly at compile time
    if any references are not valid. It stores all
    custom field, object, and sophistication
    dependencies in metadata to make sure that
    theyre not deleted while required by active Apex
    code.
  • Hosted
  • Apex is interpreted, executed, and controlled
    entirely by the Lightning Platform.

7
  • Multi Tenant aware
  • Like the remainder of the Lightning Platform,
    Apex runs during a multitenant environment. So,
    the Apex runtime engine is supposed to guard
    closely against runaway code, preventing it from
    monopolizing shared resources. If any code
    violates the limits system will throw
    easy-to-understand error messages.
  • Easy to test
  • Apex provides built-in support for unit test
    creation and execution. It includes test results
    that indicate what proportion code is roofed, and
    which parts of your code might be more efficient.
    Salesforce ensures that each one custom Apex code
    works needless to say by executing all unit tests
    before any platform upgrades.
  • Versioned
  • You can save your Apex code against different
    versions of the API. This enables you to maintain
    behavior.
  • Apex is included in Performance Edition,
    Unlimited Edition, Developer Edition, Enterprise
    Edition, and Database.com.

8
Online Testing Certification Exam StudySection
offers Testing Online Certifications at
Foundation Advanced Expert levels apart from
many other free online certification exams.
9
About StudySection
Welcome to StudySection - the most loved online
platform for eCertification in several subjects
including but not limited to Software
Development, Quality Assurance, Business
Administration, Project Management, English,
Aptitude and more. From more than 70 countries
students are StudySection Certified. If you are
not yet StudySection certified it's not late. You
can start right now. Being StudySection
Certified helps you take your education level few
notches up and have an edge over other candidates
when you need it the most. Globally, our students
are employed in different organizations and are
utilizing the benefit of being certified with us.
Write a Comment
User Comments (0)
About PowerShow.com