Monday, 1 April 2013

SalesForce MVC Model

Hello Guys,

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.


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.

No comments:

Post a Comment