Ask Question

When would a developer use a custom controller instead of a controller extension?

+3
Answers (1)
  1. 3 September, 06:38
    0
    When a Visual-force page should not enforce permissions or field-level security.

    Explanation:

    Custom controllers contain or implement the data manipulation and logic used by the Visual-force page. They are the apex controller logic used when a Visual-force page should not enforce permissions or field-level security. It does not leverage the standard controller functionality.

    The controller extension is used to extend the functionality of both the custom and the standard controller. Both custom controller and controller extension runs in system mode, the custom or standard controller uses the permission and edit other functionalities of the user mode when it is extended by the controller extension.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “When would a developer use a custom controller instead of a controller extension? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers