Controllers and Menus
Last updated Jan 22nd, 2020 | Page history | Improve this page | Report an issue
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$311 per month—let's make that $500!
Learn moreMODX uses a number of concepts for its core and manager.
Server-side you'll find Controllers that fetch data and registers assets for (pre-)rendering a page and loading (Smarty) templates to output. Most templates are very bare-bones, with the actual rendering of the interface done server-side by ExtJS.
Controllers are identified by the combination of the namespace and action, passed in as URL parameters in the manager. When no namespace is specified, the core namespace is assumed. The action is specified in the a
URL paramter.
From the client-side, AJAX requests are send to one of a few Connectors, typically /connectors/index.php
. Based on the action
in that request, the appropriate Processor is loaded that does the actual loading/manipulating of data.
Core controllers and templates are found in /manager/
, while third party components have them in their own namespace directory in core/components/
.
Related Pages¶
Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
Backers
Budget
$311 per month—let's make that $500!
Learn more