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 that we need to get started. The login system that we'll be using for authentication throughout this chapter is also included. Copy the skeleton project from the project resources folder to your web server and configure it so that it responds to chapter5.example.com as outlined at the beginning of the chapter, and then perform the following steps to make sure everything is set up:

  1. Adjust the permissions on the assets and protected/runtime folders so that they are writable by your web server.

  2. Next, create the MySQL user and database table that our application will use. If you don't want to alter the provided main configuration file, the following MySQL commands will create...