Technical Foundation
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, Storefront leverages a modern, service-oriented architecture. Remote Procedure Calls (RPCs) handle communication between the client and server, 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. And 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 Storefront work:
- RPC Methods: Communicating with the Server: The storefront uses a mechanism called Remote Procedure Calls (RPCs) to interact with the server. This allows for dynamic updates and a responsive experience. Dive deeper to understand how RPCs power key storefront functionalities.
- Sessions: Securely managing user information is critical for personalized experiences and seamless logins. Explore how sessions, cookies, and authentication work together to provide a secure and user-friendly environment.
- Storage: 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: Caching plays a vital role in keeping the storefront fast and efficient. Discover how we leverage caching strategies to optimize performance and minimize server load. Learn more about the technical details and configuration options available.
- Hooks: The storefront offers extension points called "hooks" that allow developers to customize functionality without modifying the core codebase. Explore this powerful mechanism and its role in tailoring the platform to specific needs.
- Configuration: A range of configuration options allow you to fine-tune the Storefront behavior and integrate it seamlessly with other systems. Dive into the details and discover how to customize your storefront setup.