June 14, 2012

MVC (Model - View - Controller) Pattern in Salesforce

M - Model(Object, Fields, Relationships, Apex Classes)
V - View(Visualforce page, Pagelayouts, Record Types, Force.com Sites, Components)
C - Controller(Validation Rules, Controllers in a Visualforce page)

  1. The database layer
  2. Contains objects, fields, and security
  1. The business logic layer
  2. Links the Model to the View
  3. Contains Workflow, Validation Rules, Apex
  1. The user interface layer
  2. Tabs, Page Layouts, Visual Force

No comments:

Post a Comment