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?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?