docs
  1. Storefront Application
  2. Technical Foundation
  3. Introduction

Introduction

The SCAYLE Storefront is built on a service-oriented architecture that handles client-server communication, data management, and extensibility. Understanding these technical foundations helps developers implement features effectively and helps product managers make informed decisions about Storefront Applications capabilities.

The Storefront Application uses Remote Procedure Calls (RPCs) for client-server communication, enabling dynamic data fetching and secure server-side logic execution. A caching layer reduces server load and improves response times. Storage drivers manage persistent data for sessions and caching.

Sessions and authentication handle user state and login flows. A hook system provides extension points for customizing behavior without modifying core code. Configuration options control caching, storage, session management, and integration behavior.

Learn more about how parts of the Storefront Application work:

  • RPC Methods: Explore how Remote Procedure Calls (RPCs) power dynamic updates and responsive experiences by interacting with the server.
  • Sessions: Discover how sessions, cookies, and authentication work together to provide a secure and user-friendly environment as well as personalized and seamless login flows.
  • Storage: Understand persistent data management for optimal performance and reliability. Explore the Storefront storage layer, built upon unstorage, and learn how to configure and tweak storage drivers for caching and session management.
  • Caching: Dive into our caching strategies to optimize performance and minimize server load, including technical details and configuration options.
  • Hooks: Explore these extension points called "hooks" that allow developers to customize functionality without modifying the core codebase.
  • Configuration: Learn how a range of options allow you to fine-tune the Storefront behavior and seamlessly integrate it with other systems.
  • Data & State: Understand how the Storefront Application leverages Nuxt's useAsyncData composable for efficient asynchronous data fetching and state management, handling SSR, caching, and data hydration.
  • SCAYLE Data Model: Learn about the core data structures and entities that power the Storefront Application, including products, variants, baskets, orders, and how they relate to each other.