function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sudhsudh 

About Controllers

What is the diff between Standard Controller nd Custom Controller?

Chamil MadusankaChamil Madusanka

Hi,

 

Standard controller will be a standard object or custom object.

 

custom controller will be a apex class.

 

If a reply to a post answers your question or resolves your problem, please mark it as the solution to the post so that others may benefit.

 

Chamil's Blog

cwall_sfdccwall_sfdc

Extending that..

 

Standard Controllers handle all operations - update, delete, query - for a given object instance, eg Account instance

 

Standard Set Controllers handle all operations - update, delete, query - for a given object type, eg Account.

 

Custom Controllers handle all custom logic - you write all create, update, delete, query, business rule logic.

 

Extensions are Custom Controllers where you extend or override Standard Controller behavior.

sudhsudh

Thank u....

sudhsudh

Thank u..