Ask Question
8 February, 14:53

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

+2
Answers (1)
  1. 8 February, 15:18
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers