Get in touch with OnlineITGuru for mastering the SalesForce Online Training in Hyderabad.
Apex is an object oriented programming language which is looks like a java and stored procedures and it can be run entirely on Force.com platform .It allows the developer for business logic process and execution of unit test creation .salesforce servers can be stored the data in metadata form then end user send the request and retrieve the results from UI. The flow of execution and transaction control statements on the Force.com platform with help of server, conjunction with calls to API.
For Writing an apex it enables to add an interact with data in Force.com platform layer. It uses variables, if-else statements, classes and data types. And execution is based on a condition with a block of code is execute repeatedly. While Running Apex you can access Salesforce user interface pro-grammatically and integrate with external SOAP and REST Web services atomic transactions in a apex code. Debugging and testing, Apex code in a sandbox with a developer console and debug logs. Unit-test your code using packages. DML statements and the built-in Apex classes and interfaces.
Visualforce is a framework markup language which allows defining the user interface components. visualforce also runs on Force.com platform the user interface can develop the visualforce pages. It is a combination of both tags and controllers attributes and Pages can be used for standard button and save button for contacts.
We can create custom pages and dashboards, sideboards in the service of cloud console object reference and pre-built visualforce controllers developed. For a single controller argument in a class constructor with extension class.
Visualforce page can exist together with Lightning Components in agreement. For instance, in App Builder, you can utilize the Visualforce Standard Component to add a Visualforce page to a page. The Visualforce standard part is only a Lightning segment wrapper around a Visualforce page. On the off chance that your Visualforce page is independent and doesn’t have to speak with other Lightning parts on the page, there is nothing else you have to do.
In this article, we will concentrate on situations where Visualforce pages and Lightning parts do need to impart, and we will depict a basic way to deal with execute those Lightning-to-Visualforce correspondence necessities.
Different DOMs: A Visualforce page facilitated in Lightning Experience is stacked in an iframe. As such, it’s stacked in its own particular window protest which is not the same as the principle window question where the Lightning Components are stacked.
Different Origins: Visualforce pages and Lightning Components are served from various spaces. For instance, in this event that you are utilizing a developing a version.
The program’s same-root strategy keeps a page from getting to substance or code in another page stacked from an alternate cause .For our situation that implies that a Visualforce page can’t utilize the parent window reference to get to content or execute code in the Lightning Component wrapper. Essentially, the Lightning segment can’t utilize the i frame’s content loaded reference to get to content or execute code in the Visualforce page it wraps.
These confinements are authorized for good reasons. In any case, there is likewise an API that gives a safe approach to trade messages between various window objects with content stacked from various sources.
window.postMessage() is a standard
In the rest of this article, we will take at various cases showing how postMessage() can be utilized to convey between Lightning Components and Visualforce pages.
Get in touch with OnlineITGuru for mastering the SalesForce Online Training in Bangalore
Knowledge in cloud computing is an basic step to understand the environment
For retrieving and manipulating the database you must have essential knowledge in database is very important
In order to start learning Salesforce CRM has no prior requirement to have knowledge on any technology required to Salesforce and also need to have some basic knowledge on java concept.