Salesforce B2C Commerce storefront
jastuccio

jastuccio @jastuccio

About: Web Developer, Sailor, Stargazer, Hockey Player, and all around fun guy... but my absolute favorite thing is being a dad

Location:
Massachusetts
Joined:
Nov 15, 2019

Salesforce B2C Commerce storefront

Publish Date: May 12 '21
2 0

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.

https://trailhead.salesforce.com/content/learn/modules/cc-digital-for-developers/digital-dev-environment?trail_id=develop-for-commerce-cloud

Comments 0 total

    Add comment