Yii2-Application-Development-Cookbook-Third-Edition

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

  • Owner: PacktPublishing/Yii2-Application-Development-Cookbook-Third-Edition
  • Platform:
  • License:: MIT License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

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.

Main metrics

Overview
Name With OwnerPacktPublishing/Yii2-Application-Development-Cookbook-Third-Edition
Primary LanguagePHP
Program languagePHP (Language Count: 8)
Platform
License:MIT License
所有者活动
Created At2016-10-28 05:49:54
Pushed At2021-01-14 09:32:01
Last Commit At2021-01-14 09:31:55
Release Count0
用户参与
Stargazers Count50
Watchers Count13
Fork Count16
Commits Count8
Has Issues Enabled
Issues Count0
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count0
Pull Requests Close Count0
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private