2017 © Pedro Peláez
 

library controller

PMVC Controller

image

pmvc-plugin/controller

PMVC Controller

  • Friday, May 4, 2018
  • by HillLiu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 2,994 Installations
  • PHP
  • 14 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 21 Versions
  • 3 % Grown

The README.md

Latest Stable Version Latest Unstable Version CircleCI StyleCI Coverage Status License Total Downloads, (*1)

PMVC Controller

  • A simple MVC for unidirectional dataflow architecture.
  • More information https://github.com/pmvc/pmvc

Explain flow

controller -> plugapp -> process -> execute -> processForm -> _processValidate -> _processAction -> processForward -> _finish, (*2)

Explain App Folder

Folders hierarchy

- Site *Folder*
-- Apps *Folder*
--- App

How to get (folders)?

  • Site Folder
\PMVC\plug('controller')->getAppsParent()
  • Apps Folder
\PMVC\plug('controller')->getAppsFolder()
  • App \PMVC\plug('controller')->getApp()

APP customize view and template

  • View
    • view_engine_[app]=[html|json|react|...]
  • Template
    • template_dir_[app]=[forder path]

Install with Composer

CLICK TO SEE
, (*3)

### 1. Download composer * mkdir test_folder * curl -sS https://getcomposer.org/installer | php ### 2. Install by composer.json or use command-line directly #### 2.1 Install by composer.json * vim composer.json ``` { "require": { "pmvc-plugin/controller": "dev-master" } } ``` * php composer.phar install #### 2.2 Or use composer command-line * php composer.phar require pmvc-plugin/controller or * composer require pmvc-plugin/controller , (*4)

, (*5)

The Versions

04/05 2018

dev-master

9999999-dev https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

04/05 2018

0.5.2

0.5.2.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

04/05 2018

dev-analysis-XZvn9a

dev-analysis-XZvn9a https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

03/05 2018

0.5.1

0.5.1.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

22/04 2018

0.5.0

0.5.0.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

13/03 2018

0.4.3

0.4.3.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

13/03 2018

0.4.2

0.4.2.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

13/01 2018

0.4.1

0.4.1.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

13/01 2018

dev-analysis-zRVEKp

dev-analysis-zRVEKp https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

13/01 2018

0.4.0

0.4.0.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

16/11 2017

0.3.10

0.3.10.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

30/10 2017

0.3.9

0.3.9.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

30/10 2017

0.3.8

0.3.8.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

16/09 2017

0.3.7

0.3.7.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

05/09 2017

0.3.6

0.3.6.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

19/08 2017

dev-analysis-XkWpMJ

dev-analysis-XkWpMJ https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

19/08 2017

0.3.5

0.3.5.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

06/07 2017

0.2.21

0.2.21.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

10/06 2017

0.2.9

0.2.9.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

23/03 2017

0.2.5

0.2.5.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc

09/01 2017

0.1.62

0.1.62.0 https://github.com/pmvc/pmvc

PMVC Controller

  Sources   Download

MIT

The Requires

 

The Development Requires

by Hill

controller plug-in pmvc