MizzouMVC
MVC Framework for rapid custom theme development
by Paul F. Gilzow, Mizzou Creative, University of Missouri · github.com/mizzoucreative/mizzoumvc · website
★ 1stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/mizzoucreative/mizzoumvc/archive/refs/heads/master.zipFrom the readme
MVC-based framework for rapid theme development
An MVC-based (see FAQ) framework for rapidly building custom themes. Please note that this is a framework for DEVELOPING themes; it doesn't do much until you use it to build your own custom theme.
The framework overrides WordPress’ normal templating system and instead uses it for routing. Knowledge of/experience with WordPress’ template hierarchy is crucial. Wordpress template hierarchy
What used to be “template” files are now your controllers. The plugin ships with a default set of controllers: header, footer, index, archive, page, single, search, 404 and attachment. Themes can either extend any of these defaults, or extend the base controller (Main) and override the defaults. A child theme then can do the same to a controller in the parent theme. Views work in a similar fashion: theme views will override the default views, child theme views will override parent theme views. The plugin ships with a default collection of Models that covers 80% of cases, but themes and child themes can extend/override them as needed.
All models and controllers in a theme or child theme should be namespaced. If you have a parent-child theme