Explain the MVC design pattern of Salesforce.com – Interview Question

Salesforce Interview question, How salesforce.com follows the (Model View Controller) MVC design pattern.

Model view controller (MVC) design pattern is the one of the most popular design pattern in 3 tier applications. Salesforce.com is award winning tool to manage all the data of sales team of an organization. The flexibility and assurance of safe data provided by Salesforce.com results into nonparallel development capabilities to the developer. One normal questions asked in salesforce is explaining the MVC behavior of the application.

Salesforce Model view controller (MVC)

So lets discuss that how Salesforce.com uses MVC pattern.

MVC pattern contains below three modules:

  1. Model
  2. View
  3. Controller

Model : What schema and data does salesforce uses to represent the system completely.  In salesforce, we can say that sObjects are the model as every entity in salesforce is mapped to some sObject.

View : How the schema and data is represented. Visualforce is used to present the data to users.

Controller : How the interface actions. Controllers are used to perform the actions whenever users interact with visual force.

Related posts

  • Suresh

    Thanks to this websitet for provides what i needed information

  • Jeet Verma

    This is one of the best articles I read online. No crap, just useful information. Very well presented.

    • Wow

      No Crapp?
      “Salesforce.com is award winning tool to manage all the data of sales team of an organization.”

      What a Foggy Smokescreen a BullShine from a Hazy Cloud…

  • Vchirudeveloper

    gud answer

    • Anonymous


  • babu

    thank for giving that good answer

  • raghunandan

    thank you for giving the information

  • sobana

    hi.. thanks for the information.. ll u plz give sme tips 4 d DEV 401