Revision: Fri, 22 Sep 2023 11:05:11 GMT
v3.1 – outdated
This version of the documentation is outdated. Consider upgrading your project to Spiral Framework 3.8
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.

Note
Spiral application server is a customized version of RoadRunner.

High Level Architecture Diagram

Note
Read about the application lifecycle here.