Introduction
The SCAYLE Storefront is built on a robust technical foundation that enables powerful features, seamless integrations, and a smooth user experience. Understanding these underlying principles is valuable whether you're shaping the product roadmap or building the next generation of storefront features.
At its core, the Storefront leverages a modern, service-oriented architecture. Remote Procedure Calls (RPCs) handle client-server communication, enabling dynamic data fetching and secure execution of server-side logic. A sophisticated caching system optimizes performance and reduces server load. User sessions and authentication are managed securely to provide personalized experiences and seamless login flows. A flexible hook system allows developers to extend and customize the platform without modifying core components. All of this is configurable through a well-defined set of options, allowing for tailored integrations and optimized behavior.
Learn more about how parts of the Storefront work:
- RPC Methods (Communicating with the Server): 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.