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
Sharath Babu 13Sharath Babu 13 

MVC Architecture - Clarification on Certification question

What type of code represents the controller in MVC architecture on the force.com platform?
Choose 2 answers
1. Javascript that is used to make a menu item display itself
2. Standardcontroller system methods that are reference by Visualforce
3. Customer Apex and Javascript code that is used to manipulate data
4. A Static resrouce that contains CSS and images

one of the answer is (2), but for another pick I am confused between (1) and (2).
are standardcontroller system methods part of Controller of MVC architecture.

Please help.
Tugce SirinTugce Sirin
Hello

In MVC, Controller manipulates data. So in your answer you need 2 choices that manipulate data. 1 and 4 changes view. I believe answer is 2 and 3. Does this help?
Rakhi Tayal 9Rakhi Tayal 9
Right..  ANswer sshould be 2& 3. But in some mock exams answer is 1 & 2.