+ Start a Discussion
Suraj_BahaleSuraj_Bahale 

Which type of code represents the model in the mvc architecture on the force.com platform?

A. A controller extension method that saves a list of account records.
B. Custom javascript that processes a list of account records.
C. A controller extension method that uses SOQL to query for a list of account records
D. A list of account records returned from a controller extension method
Best Answer chosen by Suraj_Bahale
Deepali KulshresthaDeepali Kulshrestha
Hi Suraj,


Greetings to you!

I have gone through your query and i realized.

Option (B) is right regarding model in MVC architecture on the force.com platform. 

Please visit link for detailed explanation:

1. https://www.salesforcetutorial.com/model-view-controller-mvc/

2. http://www.salesforcegeneral.com/salesforce-mvc-explained/
     
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com

All Answers

Ajay K DubediAjay K Dubedi
Hi Suraj,

The answer is :
B. Custom javascript that processes a list of account records.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Ajay Dubedi
www.ajaydubedi.com
Deepali KulshresthaDeepali Kulshrestha
Hi Suraj,


Greetings to you!

I have gone through your query and i realized.

Option (B) is right regarding model in MVC architecture on the force.com platform. 

Please visit link for detailed explanation:

1. https://www.salesforcetutorial.com/model-view-controller-mvc/

2. http://www.salesforcegeneral.com/salesforce-mvc-explained/
     
I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha
www.kdeepali.com
This was selected as the best answer
Btissame AsmaeBtissame Asmae
can someone please explain why is B the correct answer? (what is the logic behind).  what does Custom javascript have to do with the Model part?
Thank you in advance for your help.
regards,