modxSite — the logical and API layer of a MODX project
modxSite has become the central component of Fi1osof's own architectural line within MODX.
Its purpose was not to add yet another set of frontend snippets, but to shift significant logic into processors and classes built on top of standard MODX and xPDO mechanisms. Data retrieval, filtering, object operations, and application actions could be structured as reusable processors rather than being hardcoded directly into templates.
Such a processor can be called from PHP, from modxSmarty, via a connector, or tested directly in the Console. As a result, the frontend becomes one of the consumers of the logic rather than the place where that logic lives.
This boundary is especially important years later. If an older project is genuinely built consistently around processors, its modernization can come down to creating a new frontend on top of the existing business logic instead of rewriting the entire system. It is precisely this hypothesis that can now be tested on surviving projects.
In public discussions, Fi1osof emphasized another principle of modxSite: to extend the basic capabilities of MODX—first and foremost xPDO and native processors—rather than creating a parallel platform on top of a platform. This made it possible to keep the codebase relatively compact and use the standard MODX model where it already solved the problem.
modxSite is part of the general ecosystem of Fi1osof components and is directly related to the modern Headless MODX approach.