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

2 views0 comments

Recent Posts

See All

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

Speed determines the timeframe in which you implement the ideas for your roadmap Letting ideas stay for too long can cause them to wither away and lose relevance. It doesn't matter who owns the idea;