Saturday, 10 June 2017

Apex Introduction and Overview

Apex Introduction and Overview

Apex is strongly typed object oriented programming language
A.It allows the develops execute flows and transaction control statement.
B.Apex enables developers to add business logic to most system events like button click related records updates and visual force pages.
C.Apex languages
1.       Integrated: it provides built in support for DML calls.
2.       Inline salesforce object query language:
3.       Easy to use.
4.       Easy to test.
5.       Version
6.       Multi-tenant aware

When should I use apex:
A.      To create email services
B.      Create web services
C.      Perform complex validation over multiple objects.
D.      To create complex business processes that are not supported by work flow.
E.       Create custom transaction logic
F.       Attach custom logic to another operation.

How does apex work:

All apex programmers entirely on-demand on force.com platform.

When the developer writes and server Apex code to the platform

A.First the platform application serves compiles the code into abstract set of instruction that can be understood by apex run time interpreter.

B.The compile code is stored to meta data.

C.When the end uses triggers the execution of apex by clicking button visual force page the application services retrieves the compiled instructions from the meta data and send them to run time interpreters before returning the result.

No comments:

Post a Comment