---
title: Spire CMS Configured Commerce 5.x architecture
slug: configured-commerce/docs/understanding-5x-architecture-spire
docTags: 
createdAt: 2026-08-13T10:46:26.000Z
---

## Architecture stack

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/f4-G_y5NbgqnP4fhHDQkq_1ea1e4ff4893b2874ad5e1e791d2f5d3038d869054a832de18cebf20f60c92e7-architecture-stack.png)

## Application structure

The application structure has been refactored to make use of widgets and RESTful APIs. The Storefront is presented with AngularJS directives that are initialized with the business logic from the Optimizely module.

Additionally, the plugins are now located in isolated libraries providing efficient extensibility. For example, custom translation services or payment gateways use interfaces to define contractual requirements in code.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/fRZO4ycot2fCw7ws-U-yW-20260722-174956.png)

## Module structure

The componentized architecture and modularity provide targeted extension points to Configured Commerce as a whole. These modules can then be individually upgraded or allow for seamless upgrades.

![](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/URLq1AkDg4Ox9vx7OFh1A-20260722-174956.png)
