What is the difference between a standard controller and a custom controller?

What is the difference between a standard controller and a custom controller?

  • Standard controller in Apex, inherits all the standard object properties and standard button functionality directly. It contains the same functionality and logic that are used for standard Salesforce pages.

  • Custom controller is an Apex class that implements all of the logic for a page without leveraging a standard controller. Custom Controllers are associated with Visualforce pages through the controller attribute.

Source: https://www.udemy.com/course/salesforce-interview-question-with-answers/?utm_medium=648408&utm_content=promo&utm_campaign=2021-01-26&utm_source=email-sendgrid&utm_term=6501452&couponCode=LEARNSALESFORCE

3 views0 comments

Recent Posts

See All

Emergency Fund 401K Match High Interest Debt Roth IRA HSA 529 Max 401K Taxable Low Interest Debt Mortgage https://www.youtube.com/watch?v=UfR9WqxDhGk

Dan teaches courses on pluralsight, but he also maintains two sites: 1. A google custom search engine for all things SalesForce https://searchtheforce.com/ 2. advanceapex.com