$30 off During Our Annual Pro Sale. View Details »

Sitecore Experience Commerce Architecture

RobEarlam
February 12, 2019

Sitecore Experience Commerce Architecture

RobEarlam

February 12, 2019
Tweet

More Decks by RobEarlam

Other Decks in Programming

Transcript

  1. Sitecore
    Experience
    Commerce
    Architecture
    Rob Earlam – Jan 2019

    View Slide

  2. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Who am I?
    Rob Earlam
    APJ Technical Evangelist
    Global Commerce Evangelist
    @RobEarlam
    https://www.linkedin.com/in/rob-earlam/
    https://github.com/robearlam
    https://robearlam.com

    View Slide

  3. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    • Server Architecture
    • Application Architecture
    • Tooling / Extensions / Samples
    • Future
    Agenda

    View Slide

  4. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Server Architecture

    View Slide

  5. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Sample XC Architecture
    Resource
    group
    Redis
    Cache
    Azure
    Search
    Application
    Insights
    Azure SQL Server
    Core Master Web Experience
    Forms
    xDB
    Collection
    Shard Map
    Manager
    xDB
    Collection
    Shard0
    xDB
    Collection
    Shard1
    Messaging Reference
    Data
    Processing
    Tasks
    Processing
    Pools
    Reporting Marketing
    Automation
    EXM
    Master
    App Service
    Content
    Delivery
    App Service
    Content
    Management
    App Service
    xDB
    Processing
    App Service
    xDB
    Reporting
    App Service
    Marketing
    Operations
    Marketing
    Automation
    Reporting
    xConnect
    Search
    App Service App Service
    Commerce
    Engine
    Ops
    App Service
    xConnect
    Collect
    xConnect
    Reference Data
    Commerce
    Engine
    Authoring
    Commerce
    Engine
    Shops
    Commerce
    Business
    Tools
    Identity
    Server
    Commerce
    Engine
    Minions
    Global Shared
    Environments

    View Slide

  6. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Architecture Elements
    Storage Roles Application Roles Indexes
    Global Shared
    Environments
    Commerce
    Engine
    Ops
    Commerce
    Engine
    Authoring
    Commerce
    Engine
    Shops
    Commerce
    Business
    Tools
    Identity
    Server
    Commerce
    Engine
    Minions
    Catalog
    Scope
    Customers
    Scope
    Orders
    Scope

    View Slide

  7. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Business Tools / Identity Server
    • Angular 4
    • Lightweight
    • Extendable via C#
    • Extendable via Html / CSS
    • SDK provided
    • Identity Server 4
    • Provides SSO
    • SDK provided

    View Slide

  8. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Sitecore Commerce Engine

    View Slide

  9. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Console Application Debugging

    View Slide

  10. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Sitecore Commerce Engine Roles
    Should be scaled Can be scaled Can be scaled
    Can’t be scaled
    Receives traffic Receives traffic Receives traffic
    No traffic
    Task Runner
    Task Runner Task Runner
    Task Runner
    Commerce
    Engine
    Ops
    Commerce
    Engine
    Authoring
    Commerce
    Engine
    Shops
    Commerce
    Engine
    Minions

    View Slide

  11. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Why engine roles?
    Content
    Delivery
    Commerce
    Engine
    Shops
    Shared
    Environments
    Commerce
    Engine
    Minions
    Commerce
    Business
    Tools
    Commerce
    Engine
    Authoring
    Commerce
    Engine
    Ops

    View Slide

  12. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Data Flows – Merchandising Activity
    A Merchandiser managing
    the Catalog
    Data Flow
    Core Identity
    Server
    Commerce
    Business
    Tools
    Commerce
    Engine
    Authoring
    Shared
    Environments

    View Slide

  13. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Data Flows – Browsing the catalog
    A shopper viewing one or
    more sellable items
    Data Flow
    Web
    Shared
    Environments
    Content
    Delivery
    Commerce
    Engine
    Shops
    Web

    View Slide

  14. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Data Flows – Checkout
    Shoppers
    Shoppers completing the checkout
    process
    Data Flow
    Content
    Delivery
    Commerce
    Engine
    Shops
    Shared
    Environments
    Commerce
    Engine
    Minions
    Orders
    Scope

    View Slide

  15. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Application Architecture
    • Commerce Engine
    • SXA Storefront
    • Service Communication

    View Slide

  16. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Application Architecture
    Commerce Engine

    View Slide

  17. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Plugin Architecture Pattern
    Core Functionality
    Coupons
    Media
    Catalog
    Carts
    Rules
    Search
    Tax
    Payment
    Workflow Orders

    View Slide

  18. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Application Footprint
    Carts
    Orders Managed Lists
    Views
    Search
    Media
    Promotion
    Catalog
    Customer
    Availability
    Fulfillment
    Pricing
    Business Users
    Entitlements
    Inventory
    Payments
    Gift Cards
    Digital Items
    Coupons
    Compare

    View Slide

  19. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Extension Points
    Components Commands
    Entities Minions
    Pipelines &
    Pipeline Blocks
    Policies

    View Slide

  20. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Application Architecture
    SxA Storefront

    View Slide

  21. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    What is the Sitecore Experience Accelerator
    Drag and drop toolkit
    Simplified page
    architecture
    Wire framing mode for
    building sites before design
    Export, import visual
    designs or live edit
    ~80 Pre-built components
    Cloud ready
    Grid Framework
    Headless capabilities
    MultiTenancy
    Mobile first with responsive
    and adaptive options

    View Slide

  22. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    • Out of the box Commerce
    storefront built on top of the
    Sitecore Experience
    Accelerator
    • Adds 40+ commerce specific
    components
    • Three sample themes
    What is the SXA Storefront

    View Slide

  23. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Commerce renderings
    • Account renderings Login & profile
    components
    • Cart renderings Shopping cart
    components
    • Catalog renderings Product lists,
    promoted products, navigation
    • Checkout renderings Confirmation,
    billing and delivery
    • Orders renderings Recent orders,
    history, order lines
    • Shared renderings Language
    selector, search, top links

    View Slide

  24. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Application Architecture
    Service Communication

    View Slide

  25. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Example Plugin
    ?

    View Slide

  26. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Service Proxy
    Storefront
    Commerce Engine Service Proxy
    Update Process
    1. Build Engine with new functionality
    2. Refresh ServiceProxy Connected Services
    3. Reference updated proxy classes in
    Storefront code

    View Slide

  27. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    EngineConnectUtility

    View Slide

  28. • http://helix.sitecore.net/

    28

    View Slide

  29. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Tooling / Extensions /
    Samples

    View Slide

  30. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Sitecore Commerce Engine Templates
    https://github.com/ajsuth/Ajsuth.Commerce.Engine.Templates

    View Slide

  31. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Promotion Extensions
    https://github.com/kazimnami/Sitecore.Commerce.Promotions

    View Slide

  32. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Plumber.SC
    https://plumber-sc.com/

    View Slide

  33. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    HabitatHome.Commerce
    https://github.com/Sitecore/Sitecore.HabitatHome.Commerce

    View Slide

  34. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Rob.Commerce
    https://github.com/robearlam/Rob.Commerce

    View Slide

  35. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Future

    View Slide

  36. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    Where are we today?
    Static
    Bundles
    Sitecore Experience
    Commerce 9.0.3
    Performance
    Improvements

    View Slide

  37. © 2001-2019 Sitecore Corporation A/S. Sitecore® and Own the Experience® are registered trademarks of Sitecore Corporation A/S. All product names are the property of their respective owners.
    What’s coming up?
    Updated 3rd
    Party Versions
    Sitecore Experience
    Commerce 9.1
    Alignment with
    Platform 9.1

    View Slide

  38. Thank you
    FOR DISCUSSION PURPOSES ONLY.
    Sitecore Confidential and Proprietary. ©2019 Sitecore
    Corporation A/S. All rights reserved. Sitecore® and
    Own the Experience® are registered trademarks of
    Sitecore Corporation A/S. All other brand and product
    names are the property of their respective owners.

    View Slide