Revision: Fri, 24 Nov 2023 16:16:19 GMT
v3.3 – outdated
This version of the documentation is outdated. Consider upgrading your project to Spiral Framework 3.10
Edit this page

Framework - Design Approach

The framework components attempt to follow the principle of pragmatic (KISS) design. Practically, it means that each component must follow the given rules:

  • avoid cross dependencies when possible
  • prioritize composition over inheritance
  • prefer smaller but richer interfaces
  • avoid magic

Hybrid Runtime

The framework relies on the application server to run some of its services. PHP codebase is mostly centered around quick delivery of efficient business logic. The application server, Golang based, is focused on efficiently solving infrastructure tasks.

Spiral application server is a customized version of RoadRunner.

High Level Architecture Diagram

Read about the application lifecycle here.