You now have a working Yii application which can be accessed via URL `http://hostname/index.php`.
After installing Yii, you have a working Yii application that can be accessed via the URL `http://hostname/basic/web/index.php` or `http://hostname/index.php`, depending upon your configuration. This section will introduce the application's built-in fucntionality, how the code is organized,
In this section, we will introduce what functionalities this application has, how the code is organized,
and how the application handles requests in general.
and how the application handles requests in general.
> Info: For simplicity, throughout this "Getting Started" tutorial we assume that you have set `basic/web`
> Info: For simplicity, throughout this "Getting Started" tutorial, it's assumed that you have set `basic/web`
as the document root of your Web server. If you have not done so, the URL for accessing
as the document root of your Web server, and configured, the URL for accessing
your application could be `http://hostname/basic/web/index.php`, or something similar.
your application to be `http://hostname/index.php` or something similar.
Please adjust the URLs accordingly in our descriptions.
For your needs, please adjust the URLs in our descriptions accordingly.
Functionalities <a name="functionalities"></a>
Functionality <a name="functionality"></a>
---------------
---------------
The application that you have installed contains four pages:
The basic application installed contains four pages:
* the homepage is the page displayed when you access the URL `http://hostname/index.php`;
* the homepage, displayed when you access the URL `http://hostname/index.php`
* the "About" page;
* the "About" page
* the "Contact" page displays a contact form that allows end users to contact you by filling out the form;
* the "Contact" page displays a contact form that allows end users to contact you via email
* the "Login" page displays a login form that can be used to authenticate end users. Try logging in
* the "Login" page displays a login form that can be used to authenticate end users. Try logging in
with "admin/admin", and you will find the "Login" main menu item will change to "Logout".
with "admin/admin", and you will find the "Login" main menu item will change to "Logout".
These pages share a common header and footer. The header contains a main menu bar to allow navigate
These pages share a common header and footer. The header contains a main menu bar to allow navigation
among different pages.
among different pages.
You should also see a toolbar sticking at the bottom of the browser window when it displays any of the above pages.
You should also see a toolbar at the bottom of the browser window.
This is a useful [debugger tool](tool-debugger.md) provided by Yii to help you check various debugging information
This is a useful [debugger tool](tool-debugger.md) provided by Yii to record and display a lot of debugging information, such as log messages, response statuses, the database queries run, and so on.
about the application execution, such as log messages, response status, database queries, and so on.