Skip to main content

Posts

Showing posts with the label Salesforce Interview Questions

Salesforce Visual Force Interview Questions - 2

12. What are the Best Practices to Improve Visualforce Performance? 1) By using the with sharing keyword when creating your Apex controllers, you have the possibility of improving your SOQL queries by only viewing a data set for a single user. 2) The view state size of your Visualforce pages must be under 135 KB. By reducing your view state size, your pages can load quicker and stall less often. 3) Reduce Multiple Concurrent Requests: use <apex:actionpoller> 4) Preventing Field Values from Dropping Off the Page. 5) Large page sizes directly affect load times. To improve Visualforce page load times:       Cache any data that is frequently accessed, such as icon graphics.       Avoid SOQL queries in your Apex controller getter methods.       Reduce the number of records displayed on a page by adding filter condition in SO...

Salesforce Visual Force Interview Questions-1

1. What is visualforce controller in salesforce? What are they? Visualforce controller is a set of instructions that specify what happens, when user interacts with components on visualforce pages, such buttons & links. Here are the 3 types of controller   1.  Standard Controller,  2. Custom controller &  3. Controller extensions. 2. What is Standard Controller?  Standard controller provides the salesforce in built functionality to interact with visualforce pages. You can use the standard actions like Save, Edit, Cancel & delete by using standard controllers. Syntax : <apex:page standardController=”Account”> 3. What is Custom Controller? Custom controller is an apex class that implements customized logic to visualfore pages. We can override or create new functionality by using custom controllers. Syntax: <apex:page controller=”Account” > 4. What is Standard List Controller? Standard List Controller allow...