2017 © Pedro Peláez
 

library zphp

Asynchronous non-blocking framework based on ZPHP transformation

image

sing/zphp

Asynchronous non-blocking framework based on ZPHP transformation

  • Thursday, June 21, 2018
  • by gitzhuhe
  • Repository
  • 2 Watchers
  • 2 Stars
  • 63 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 18 Versions
  • 2 % Grown

The README.md

zphp

框架依赖, (*1)

路由默认 配置:
'project'=>array('name'=>'zhttp',
        'view'=> [
            'tag'=>false,
        ],
        'pid_path'  => ROOTPATH.'/webroot',
        'mvc'  => [
            'app'=>'app','module'=>'Home', 'controller' => 'Index', 'action' => 'index'
        ],
        'reload' => DEBUG,
)
路由规则:
ip:port/$app/$module/$controller/$action
ip:port/$module/$controller/$action
ip:port/$controller/$action
ip:port/$controller

其余都读取配置文件中的参数, (*2)

service调用方式
App::service("App#test")->test();
model调用方式
App::model("App#test")->test();
多个数据库配置:
'mysql' => array(
        'default' => [
            'host' => '127.0.0.1',
            'port' => 3306,
            'user' => 'root',
            'password' => '******',
            'database' => 'zhttp',
            'asyn_max_count' => 2,
            'start_count' => 2,
        ],
        'read' => [
            'host' => '127.0.0.1',
            'port' => 3306,
            'user' => 'root',
            'password' => '******',
            'database' => 'zhttp',
            'asyn_max_count' => 5,
            'start_count' => 5,
        ]
    )
数据库操作方式
Db::table("#DbName$tableName")

The Versions

21/06 2018

v4.x-dev

4.9999999.9999999.9999999-dev

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

21/06 2018

4.05

4.05.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

04/04 2018

4.0.4

4.0.4.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

03/04 2018

4.0.3

4.0.3.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

03/04 2018

4.0.2

4.0.2.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

03/04 2018

4.0.1

4.0.1.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

02/04 2018

4.0

4.0.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

20/12 2017

dev-master

9999999-dev

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

20/12 2017

3.08.3

3.08.3.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

14/12 2017

3.08.1

3.08.1.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

24/10 2017

3.08

3.08.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

24/10 2017

3.07

3.07.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

23/06 2017

3.06

3.06.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

28/05 2017

V3.04

3.04.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

26/05 2017

V3.03

3.03.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

26/05 2017

V3.01

3.01.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

26/05 2017

V3

3.0.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0

 

24/02 2017

v2.0

2.0.0.0

Asynchronous non-blocking framework based on ZPHP transformation

  Sources   Download

MIT

The Requires

  • ext-swoole >=1.8.0,<2.0.0