Revision: Thu, 18 Apr 2024 09:24:14 GMT
v2.14 – outdated
This version of the documentation is outdated. Consider upgrading your project to Spiral Framework 3.12
Edit this page

Framework - Design Approach

The framework components attempt to follow the principle of pragmatic (KISS) design. Practically, it means that each the component must follow 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 mostly centered around quick delivery of efficient business logic. The application server, Golang based, is focused on efficiently solving the infrastructure tasks.

Note
Spiral application server is a customized version of RoadRunner.

High Level Architecture Diagram

Note
Read about application lifecycle here.