Wednesday, December 23, 2015

Difference between standardcontroller, controller and extensions in Salesforce?

Standard Controller:
Standard Controller contain the same functionality and logic that are used for standard Salesforce pages.Can be used with standard objects and custom objects.

Controller:
Custom Controller is noting but we can define our logic and Functionality.If we want fine control for how information is accessed for your page, you can write a custom Controller.
Only one Apex class is used.

Extensions:
By using the extensions we can extends the functionality of a standard or custom controller.Multiple Apex classes separated by comma are used.

1 comment: