Book Image

Learning Yii Testing

Book Image

Learning Yii Testing

Overview of this book

Table of Contents (16 chapters)
Learning Yii Testing
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Finding your way around Yii 2


Now you should have everything you need installed on your box, so let's start looking around and see how Yii 2 is organized so that we will know where to put our hands when needed.

Remember, there's always a README.md file you can consult: in the advanced application, it will show you the structure and use of the various directories.

By just listing the content of the root of the project, you will immediately spot a big difference:

$ tree -L 1 -d
.
├── assets
├── commands
├── config
├── controllers
├── mail
├── models
├── runtime
├── tests
├── vendor
├── views
└── web

11 directories

I've willingly excluded the files from the output of tree and displayed only the directories.

It seems like all the content of what once was in /protected have been dropped outside of the document root.

The project structure is now very similar to what could be a Django or a Ruby on Rails application; the project root contains all the code, which is organized the same way as it was...