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

Time

Time is like a river. You cannot touch the same water twice, because the flow that has passed will never pass again. Enjoy every moment in life!

Self-Growth Challenge

Start: Rich Dad Poor Dad Day 1: How to talk to anyone Day 2: The power of habit Day 3: Love Languages Day 4: Think and Grow Rich Day 5: 5 AM Club Day 6: The 7 Habits of highly effective people Day 7: