Skip to content

Releases: WPExtension/MVCExtension

MVCExtension a Wordpress Plugin MVC Framework

13 Oct 08:56
ca6f670
Compare
Choose a tag to compare

wpbb[dot]me Plugin Boilerplate
CMB2 Custom field By CMB2 team
Application Password (BasicAuth REST_API Authentication) By George Stephanis

REMOVED JWT Auth

Full Changelog: v1.8.0.0...v1.8.3.0

MVCExtension a Wordpress Plugin MVC Framework

11 Oct 07:02
31f4a84
Compare
Choose a tag to compare

WP Extension is a WordPress MVC framework. Design to build backend application wp plugin and theme maintainable and secure codes.

Package WP Plugin Included installed with MVCExtension :

wpbb[dot]me Plugin Boilerplate
CMB2 Custom field By CMB2 team
Application Password (BasicAuth REST_API Authentication) By George Stephanis
JWT Authentication for WP REST API (Bearer REST_API Authentication) By Enrique Chavez

Full Changelog: v1.5.0.1...v1.8.0.0

MVCExtension a Wordpress Plugin MVC Framework

10 Oct 16:38
Compare
Choose a tag to compare

Package WP Plugin Included installed with MVCExtension :

Application Password (REST_API Authentication) By George Stephanis
CMB2 Custom field By CMB2 team

Full Changelog: v1.5.0.0...v1.5.0.1

MVCExtension a Wordpress Plugin MVC Framework

22 Aug 13:46
Compare
Choose a tag to compare

Invoke anonymous class bootstrap file

Full Changelog: v1.0.0...v1.5.0.0

MVCExtension a Wordpress Plugin MVC Framework

12 Aug 13:20
Compare
Choose a tag to compare
// from sync_function call back 
 function your_plugin_dashboard( )  {
     
	$about = new WayPoint('pages','about');
	if( $about->isValidPage() ) {
		$about->call('about_mvc_callback_content');

	} else {

	   $setting = new WayPoint('pages','settings');
	   if( $setting->isValidPage() ) {
	   echo 'Setting page';

	   } else {

		 $home = new WayPoint();
		 if( !$home->isValidPage() ) {
		 $home->call('home_mvc_callback_content');
		 
		}
	  }
	}
  }
// Controller 
<?php 
namespace PHPAutoloader\Classes\controllers;

use \PHPAutoloader\Classes\libraries\Controller;
use \PHPAutoloader\Classes\models\Post;

class MVCExtension extends Controller {

   private $postModel;

   public function __construct() {
      
       $this->postModel = new Post();

      add_action('home_mvc_callback_content', [$this,'home_content_extension']);
      add_action('about_mvc_callback_content',[$this,'about_content_extension']);

   }
   
   public function home_content_extension() {

     $all = $this->postModel->getPosts();

     $data = [
        'title' => 'Welcome to Home page',
        'description' => 'This is frist app mvc share post'   ,
        'id' => $all  
      ];

      // echo 'Index page load Controller' ;
      $this->view('pages/index', $data );

   }

   public function about_content_extension() {

      $all = $this->postModel->getPosts();
 
      $data = [
         'title' => 'Welcome to About page',
         'description' => 'This is frist app mvc share post'   ,
         'id' => $all  
       ];
 
       // echo 'Index page load Controller' ;
       $this->view('pages/about', $data );
 
    }
}

MVCExtension

11 Aug 14:10
Compare
Choose a tag to compare
MVCExtension Pre-release
Pre-release

WP Extension is a WordPress MVC framework. Design to build application wp plugin maintainable and secure codes.