Standard Controllers: Standard Controllers are generated for all standard Salesforce pages, they fetch data and provide views such as page, list, dialog, or forms.  It provides data and facilitates binding a view's controls to the records fields for either display or input.

Custom Controllers: Custom Controllers is a class written in Apex that implements all of the logic for a page without leveraging a standard controller. It overrides the standard functionality and executes the logic of a page without utilizing the Standard Controllers. We can use custom controllers whenever we want to run a Visualforce page fully in system mode, without recognizing the security and permissions of the current user. Custom controllers code is written by you and does what your code tells them to perform.



Comments

Popular posts from this blog

How To Fix A 403 Forbidden Error On Your Site?

World's Top Website Design Services in 2022