Architecture:MediaWiki/Technical layers

The MediaWiki code base can be conceptually structured into the layers listed below. As per version 1.35, this layering is aspirational. That is, the layering described here does not describe current reality, but is intended as a guide for creating new code and for improving existing code.

Layers:
 * entry point layer
 * installer layer
 * maintenance layer
 * wiring layer
 * interaction layer
 * UI layer
 * API layer
 * behavior layer
 * persistence layer
 * storage layer
 * value layer
 * library layer

Note that Extensions do not have a location in this layering. Extensions align with domains, and as such are structured orthogonal to the layers: that is, each extension is structured into the layers listed above.

See also:
 * concept domains
 * pattern language