Model View Controller (MVC) is a software architecture pattern which separates the representation of information from the user’s interaction with it.
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.
M - Model (Object, Fields, Relationships, Apex Classes)
V - View (Visualforce page, Page layouts, Record Types, Force.com Sites, Components)
C - Controller (Validation Rules, Controllers in a Visualforce page)
Model: What schema and data does salesforce use to represent the system completely. In salesforce, we can say that sObjects are the model as very entity in salesforce is mapped to some sObject.
V - View (Visualforce page, Page layouts, Record Types, Force.com Sites, Components)
C - Controller (Validation Rules, Controllers in a Visualforce page)
Model: What schema and data does salesforce use to represent the system completely. In salesforce, we can say that sObjects are the model as very 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