-
Home | WP MVC
An MVC Framework for WordPress
WP MVC is an MVC framework that makes WordPress development faster, easier, and more elegant. It is a full-fledged framework with conventions that are similar to those o...
-
Functions | WP MVC
app/public/ directory. If a file extension isn't given, a
.js is appended, but this automatic behavior can be bypassed by setting the
add_extension option to
false, as shown below.
<?php
// This w...
-
Download | WP MVC
The current stable version of WP MVC is available at its WordPress Plugins page.
If you'd like to grab development releases, see what new features are being added, or browse the source code please vis...
-
Configuration | WP MVC
<?php
MvcConfiguration::set(array(
'Debug' => false
));
?>
AdminPages
By default, an admin controller has three admin pages (other than the parent index page): add, edit, and delete, but this list c...
-
Create the Models Views and Controllers | WP MVC
Go back to the command line, and in the
plugins/wp-mvc directory, generate scaffolding (initial code for a resource's model, views, and controllers) for the Venue resource:
./wpmvc generate scaffold ...
-
Form | WP MVC
Form
The form helper is primarily aimed at creating forms for adding and editing data. Its workhorse method is
input(), which checks the field type in the database schema and outputs a form element ...