Skip to content
This repository

MVC-style framework for building WordPress themes and plugins

branch: master
Octocat-spinner-32 coffee removed mtv.store.coffee; updated Backbone.sync method to work with n… November 15, 2011
Octocat-spinner-32 devjs removed mtv.store.coffee; updated Backbone.sync method to work with n… November 15, 2011
Octocat-spinner-32 locale close #571 -- more modal window translations February 02, 2012
Octocat-spinner-32 tests refactored to use be used as a git submodule November 04, 2011
Octocat-spinner-32 underscore @ 21b5f1b adding Underscore.php November 23, 2011
Octocat-spinner-32 wp fixed bug in ->fetch() January 06, 2014
Octocat-spinner-32 .gitignore make stuff internationalizationable December 08, 2011
Octocat-spinner-32 .gitmodules adding Underscore.php November 23, 2011
Octocat-spinner-32 LICENSE added MIT license October 17, 2011
Octocat-spinner-32 README.rst add link to the wiki from readme October 19, 2011
Octocat-spinner-32 build_js.sh refactored to use be used as a git submodule November 04, 2011
Octocat-spinner-32 http.php collapse multidimensional url_patterns when resolving url to avoid pr… July 05, 2012
Octocat-spinner-32 models.php add cache groups attribute to models; invalidate Post model cache gro… November 27, 2012
Octocat-spinner-32 mtv.min.js recompile js July 26, 2012
Octocat-spinner-32 mtv.php throw an error if is empty on load or run March 29, 2012
Octocat-spinner-32 requirements.sh adding some tests and stubbing others out; fixing some bugs i found w… October 17, 2011
Octocat-spinner-32 run_watchers.sh refactored to use be used as a git submodule November 04, 2011
Octocat-spinner-32 shortcuts.php throw exceptions if twig isn't setup March 29, 2012
Octocat-spinner-32 utils.php refactored to use be used as a git submodule November 04, 2011
Octocat-spinner-32 wp-plugin.php remove debugging statement February 11, 2014
README.rst

Models, templates and views for WordPress

MTV is a plugin for WordPress that provides a new API for developing plugins and themes. Born out of frustration with the undocumented, inconsistent WordPress API, MTV provides a simple, familiar, consistent way to develop heavily customized WordPress sites.

MTV borrows a lot from existing MVC-style frameworks, namely Django and Backbone.js. If you're familiar with those frameworks, you should feel at home using MTV. If you're not familiar, go try some tutorials. It'll make you a better programmer.

This plugin hijacks and takes over how WordPress handles URLs and templates, and gives you new ORM-style tools for handling posts, users and blogs. This plugin does nothing by itself, and (hopefully) will not break stuff that you already have. It's just a set of tools for developers to use.

Get started by reading the wiki.

Something went wrong with that request. Please try again.