+ Start a Discussion
AlasAlas 

What is MVC

What is MVC??

 

I know it as MODEL(objects) VIEW(visualforce) CONTROLLER(apex).

 

 

Why we will call as MVC, and if some one asks what is MVC what definition i can tell.

 

What is the use of MVC architecture??

Best Answer chosen by Admin (Salesforce Developers) 
SamuelDeRyckeSamuelDeRycke

It's a code design pattern that seperates your code into the parts you listed yourself. The use is a better structure of your code, which makes it easier to change and maintain it. With little impact, you should for instance be able to replace the entire view, without changes to the model or controller logic.

 

This is a well established pattern, and there are 1000 articles, blogs, papers, books,video's  about it.   http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller (chek out the references for more info)

All Answers

SamuelDeRyckeSamuelDeRycke

It's a code design pattern that seperates your code into the parts you listed yourself. The use is a better structure of your code, which makes it easier to change and maintain it. With little impact, you should for instance be able to replace the entire view, without changes to the model or controller logic.

 

This is a well established pattern, and there are 1000 articles, blogs, papers, books,video's  about it.   http://en.wikipedia.org/wiki/Model%E2%80%93view%E2%80%93controller (chek out the references for more info)

This was selected as the best answer
Forix ForenForix Foren
Good question to ask. Really MVC is the wonderful freamwoks and it's reduce developers code that means, this freamwork is generate the code for developers which is common so that developers only code which is needed by application. It stands for "Model-View-Controller." MVC is an application design model comprised of three interconnected parts. ... The MVC model or "pattern" is commonly used for developing modern user interfaces. It is provides the fundamental pieces for designing a programs for desktop or mobile, as well as web applications. Thanks a lot.
see: https://www.tsanj.org/probiotic-t50-review/
Hin ChHin Ch
Model–view–controller is a software design pattern commonly used for developing user interfaces which divides the related program logic into three interconnected elements. This is done to separate internal representations of information from the ways information is presented to and accepted from the user. for more information (https://en.wikipedia.org/wiki/Model–view–controller)
Regard (https://packagespoint.com)