Salesforce has so much terminology it can be a bit overwhelming in the beginning. I am starting a series of short posts to help me learn the definitions.
Model–View–Controller (MVC) Architecture
divides an application into three parts.
-
Model - the business logic, data, and rules underlying the application.
- Traditionally, models store the data that’s used to populate the view.
- In B2C Commerce, data is represented by APIs, which provide helper classes instead of storing data.
View - What the shopper sees on the storefront. It’s the landing page, the product details page, QuickView, the cart page, etc
Controller handles entry fields, button clicks, etc and turns them into actions or data that is consumed by the model or view.
Top comments (0)