Book Image

Yii Project Blueprints

By : Charles R. Portwood ll
Book Image

Yii Project Blueprints

By: Charles R. Portwood ll

Overview of this book

Table of Contents (15 chapters)
Yii Project Blueprints
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Initializing the project


By now, you should be comfortable with creating projects from scratch. To provide us with a common starting ground, a skeleton project has been included with the project resources for this chapter. Included with this skeleton project are the necessary migrations, data files, controllers, and views to get us started. Also included is the login system that we'll use for authentication throughout this chapter.

We'll start by copying the skeleton project included with the chapter resources to our web server and configure it so that it responds to chapter4.example.com as outlined in the beginning of the chapter, and then follow the next steps to make sure everything is set up:

  1. Since a skeleton project was provided, begin by adjusting the path to Yii framework in index.php to point to your Yii installation path. At this point, you'll also want to adjust the permissions on the assets and protected/runtime folders.

  2. Next, create the MySQL user and database table that our application...