Content of the «Getting Started» section:
- What do you need to know
- Installing Yii
- Running Applications
- Saying Hello
- Working with Forms
- Working with Databases
- Generating Code with Gii
- Looking Ahead
Articles section «Getting Started»:
You have now created a complete Yii application. You have learned how to implement some commonly needed features, such as getting data from users via an HTML form, fetching data from a database, and displaying data in a paginated fashion. You have also learned how to use Gii to generate code automatically.
Section "Generating Code with Gii" will describe how to use Gii to automatically generate code that implements some common Web site features. Using Gii to auto-generate code is simply a matter of entering.
Section "Working with Databases" will describe how to create with Yii 2 a new page that displays country data fetched from a database table named country. To achieve this goal, you will configure a database connection, create an Active Record class, define an action, and create a view.
This section describes how to create a new page with a form for getting data from users.After getting those two pieces of information from the user, the page will echo the entered values back for confirmation.
After installing Yii, you have a working Yii application that can be accessed via the URL, depending upon your configuration. This section will introduce the application's built-in functionality Yii application.
You can install Yii in two ways: using the Composer package manager or by downloading an archive file. Standard installations of Yii result in both the framework and a project template being downloaded and installed.
What do you need to know before Yii 2.0 learning. The Yii learning curve is not as steep as other PHP frameworks but still there are some things you should learn before starting with Yii.