Yii2-Application-Development-Cookbook-Third-Edition

Code repository for Yii2 Application Development Cookbook Third Edition, published by Packt

  • 所有者: PacktPublishing/Yii2-Application-Development-Cookbook-Third-Edition
  • 平台:
  • 许可证: MIT License
  • 分类:
  • 主题:
  • 喜欢:
    0
      比较:

Github星跟踪图

Yii2 Application Development Cookbook Third Edition

This is the code repository for Yii2 Application Develoment Cookbook Third Edition, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
##Instructions and Navigation

All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
You will see something similar to the following:

 public function __construct($id, $module, ShoppingCart $cart, $config = [])
    {
        $this->cart = $cart;
        parent::__construct($id, $module, $config);
    }

    public function behaviors()
    {
        return [
            'verbs' => [
                'class' => VerbFilter::className(),
                'actions' => [
                    'delete' => ['post'],
                ],
            ],
        ];
    }

####Author Instructions

HHVM is installed.

Running PHP web scripts with HHVM is done by having your webserver talk to HHVM over FastCGI. Install nginx or Apache, and then:

  • $ sudo /usr/share/hhvm/install_fastcgi.sh
  • $ sudo /etc/init.d/hhvm restart
  • (if using nginx) $ sudo /etc/init.d/nginx restart
  • (if using apache) $ sudo /etc/init.d/apache restart

Detailed FastCGI directions are online at:

If you're using HHVM to run web scripts, you probably want it to start at boot:

  • $ sudo update-rc.d hhvm defaults

Running command-line scripts with HHVM requires no special setup:

  • $ hhvm whatever.php

You can use HHVM for /usr/bin/php even if you have php-cli installed:

  • $ sudo /usr/bin/update-alternatives --install /usr/bin/php php /usr/bin/hhvm 60

####Software and Hardware list, Chapter, Software required, OS required, --------, ------------------, ------------, 1 to 12, Web Server, Database Server, PHP, Yii2, Windows/Mac/Ubuntu, ##Related Products

Suggestions and Feedback

Click here if you have any feedback or suggestions.

主要指标

概览
名称与所有者PacktPublishing/Yii2-Application-Development-Cookbook-Third-Edition
主编程语言PHP
编程语言PHP (语言数: 8)
平台
许可证MIT License
所有者活动
创建于2016-10-28 05:49:54
推送于2021-01-14 09:32:01
最后一次提交2021-01-14 09:31:55
发布数0
用户参与
星数50
关注者数13
派生数16
提交数8
已启用问题?
问题数0
打开的问题数0
拉请求数0
打开的拉请求数0
关闭的拉请求数0
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?